DHCP_ALL_OPTIONS structure (dhcpsapi.h)
The DHCP_ALL_OPTIONS structure defines the set of all options available on a DHCP server.
Syntax
typedef struct _DHCP_ALL_OPTIONS {
DWORD Flags;
LPDHCP_OPTION_ARRAY NonVendorOptions;
DWORD NumVendorOptions;
struct {
DHCP_OPTION Option;
LPWSTR VendorName;
LPWSTR ClassName;
};
__unnamed_struct_15c3_3 *VendorOptions;
} DHCP_ALL_OPTIONS, *LPDHCP_ALL_OPTIONS;
Members
Flags
Reserved. This value should be set to 0.
NonVendorOptions
DHCP_OPTION_ARRAY structure that contains the set of non-vendor options.
NumVendorOptions
Specifies the number of vendor options listed in VendorOptions.
Option
DHCP_OPTION structure that contains specific information describing the option.
VendorName
Unicode string that contains the name of the vendor for the option.
ClassName
Unicode string that contains the name of the DHCP class for the option.
VendorOptions
Pointer to a list of structures that contain the following fields.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | dhcpsapi.h |