DHCP_OPTION structure (dhcpsapi.h)
The DHCP_OPTION structure defines a single DHCP option and any data elements associated with it.
Syntax
typedef struct _DHCP_OPTION {
DHCP_OPTION_ID OptionID;
LPWSTR OptionName;
LPWSTR OptionComment;
DHCP_OPTION_DATA DefaultValue;
DHCP_OPTION_TYPE OptionType;
} DHCP_OPTION, *LPDHCP_OPTION;
Members
OptionID
DHCP_OPTION_ID value that specifies a unique ID number (also called a "code") for this option.
OptionName
Unicode string that contains the name of this option.
OptionComment
Unicode string that contains a comment about this option.
DefaultValue
DHCP_OPTION_DATA structure that contains the data associated with this option.
OptionType
DHCP_OPTION_TYPE enumeration value that indicates whether this option is a single unary item or an element in an array of options.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | dhcpsapi.h |