DHCP_OPTION_DATA_TYPE enumeration (dhcpsapi.h)

The DHCP_OPTION_DATA_TYPE enumeration defines the set of formats that represent DHCP option data.

Syntax

typedef enum _DHCP_OPTION_DATA_TYPE {
  DhcpByteOption,
  DhcpWordOption,
  DhcpDWordOption,
  DhcpDWordDWordOption,
  DhcpIpAddressOption,
  DhcpStringDataOption,
  DhcpBinaryDataOption,
  DhcpEncapsulatedDataOption,
  DhcpIpv6AddressOption
} DHCP_OPTION_DATA_TYPE, *LPDHCP_OPTION_DATA_TYPE;

Constants

 
DhcpByteOption
The option data is stored as a BYTE value.
DhcpWordOption
The option data is stored as a WORD value.
DhcpDWordOption
The option data is stored as a DWORD value.
DhcpDWordDWordOption
The option data is stored as a DWORD_DWORD value.
DhcpIpAddressOption
The option data is an IP address, stored as a DHCP_IP_ADDRESS value (DWORD).
DhcpStringDataOption
The option data is stored as a Unicode string.
DhcpBinaryDataOption
The option data is stored as a DHCP_BINARY_DATA structure.
DhcpEncapsulatedDataOption
The option data is encapsulated and stored as a DHCP_BINARY_DATA structure.
DhcpIpv6AddressOption
The option data is stored as a Unicode string.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows 2000 Server [desktop apps only]
Header dhcpsapi.h

See also

DHCP_BINARY_DATA