DHCPAPI_PARAMS structure (dhcpcsdk.h)

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

See also

DHCPAPI_PARAMS_ARRAY