Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DHCPAPI_PARAMS structure is used to request DHCP parameters.
Syntax
typedef struct _DHCPAPI_PARAMS {
  ULONG  Flags;
  ULONG  OptionId;
  BOOL   IsVendor;
#if ...
  LPBYTE Data;
#else
  LPBYTE Data;
#endif
  DWORD  nBytesData;
} DHCPAPI_PARAMS, *PDHCPAPI_PARAMS, *LPDHCPAPI_PARAMS, DHCPCAPI_PARAMS, *PDHCPCAPI_PARAMS, *LPDHCPCAPI_PARAMS;
Members
Flags
Reserved. Must be set to zero.
OptionId
Identifier for the DHCP parameter being requested.
IsVendor
Specifies whether the DHCP parameter is vendor-specific. Set to TRUE if the parameter is vendor-specific.
Data
Pointer to the parameter data.
nBytesData
Size of the data pointed to by Data, in bytes.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] | 
| Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] | 
| Header | dhcpcsdk.h |