DHCP_ALL_OPTION_VALUES structure (dhcpsapi.h)

The DHCP_ALL_OPTION_VALUES structure defines the set of all option values defined on a DHCP server, organized according to class/vendor pairing.

Syntax

typedef struct _DHCP_ALL_OPTION_VALUES {
  DWORD                   Flags;
  DWORD                   NumElements;
  struct {
    LPWSTR                    ClassName;
    LPWSTR                    VendorName;
    BOOL                      IsVendor;
    LPDHCP_OPTION_VALUE_ARRAY OptionsArray;
  };
  __unnamed_struct_15be_4 *Options;
} DHCP_ALL_OPTION_VALUES, *LPDHCP_ALL_OPTION_VALUES;

Members

Flags

Reserved. This field should be set to 0.

NumElements

Specifies the number of elements in Options.

ClassName

Unicode string that contains the name of the DHCP class for the option list.

VendorName

Unicode string that contains the name of the vendor for the option list.

IsVendor

Specifies whether or not this set of options is vendor-specific. This value is TRUE if it is, and FALSE if it is not.

OptionsArray

DHCP_OPTION_VALUE_ARRAY structure that contains the option values for the specified vendor/class pair.

Options

Pointer to a list of DHCP_OPTION_VALUE_ARRAY structures that contain the option values for specific class/vendor pairs.

Requirements

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