DHCP_ALL_OPTION_VALUES_PB structure

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;
  } *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.

Options

Pointer to an array of structures that contain the set of all option values for specific vendor/policy pairs. There is one element per pair.

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

A pointer to a DHCP_OPTION_VALUE_ARRAY structure that contains the set of all option values for the specified vendor/policy pair.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Dhcpsapi.h

See also

DhcpV4GetAllOptionValues

 

 

Show: