DHCP_ALL_OPTION_VALUES_PB structure (dhcpsapi.h)

The DHCP_ALL_OPTION_VALUES_PB structure defines the set of all option values for a DHCP server within a scope.

Syntax

typedef struct _DHCP_ALL_OPTION_VALUES_PB {
  DWORD                   Flags;
  DWORD                   NumElements;
  struct {
    LPWSTR                    PolicyName;
    LPWSTR                    VendorName;
    BOOL                      IsVendor;
    LPDHCP_OPTION_VALUE_ARRAY OptionsArray;
  };
  __unnamed_struct_15c3_5 *Options;
} DHCP_ALL_OPTION_VALUES_PB, *LPDHCP_ALL_OPTION_VALUES_PB;

Members

Flags

Reserved. Must be 0.

NumElements

Integer that specifies the number of elements in Options.

PolicyName

Pointer to a null-terminated Unicode string that represents the DHCP server policy name for the option set. NULL if none exists.

VendorName

Pointer to a null-terminated Unicode string that represents the vendor name for the option set. NULL if none exists.

IsVendor

TRUE if the option set is vendor-specific. Otherwise, it is FALSE.

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 set of all option values for specific vendor/policy pairs. There is one element per pair.

Requirements

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

See also

DhcpV4GetAllOptionValues