DHCP_OPTION_SCOPE_INFO6 structure (dhcpsapi.h)

The DHCP_OPTION_SCOPE_INFO6 structure defines the data associated with a DHCP option scope.

Syntax

typedef struct _DHCP_OPTION_SCOPE_INFO6 {
  DHCP_OPTION_SCOPE_TYPE6   ScopeType;
#if ...
  union {
    DHCP_IPV6_ADDRESS    SubnetScopeInfo;
    DHCP_RESERVED_SCOPE6 ReservedScopeInfo;
  } ScopeInfo;
#if ...
  _DHCP_OPTION_SCOPE_UNION6 _DHCP_OPTION_SCOPE_UNION6;
#else
  union {
    PVOID                DefaultScopeInfo;
    DHCP_IPV6_ADDRESS    SubnetScopeInfo;
    DHCP_RESERVED_SCOPE6 ReservedScopeInfo;
  } ScopeInfo;
#endif
#else
  _DHCP_OPTION_SCOPE_UNION6 _DHCP_OPTION_SCOPE_UNION6;
#endif
} DHCP_OPTION_SCOPE_INFO6, *LPDHCP_OPTION_SCOPE_INFO6;

Members

ScopeType

DHCP_OPTION_SCOPE_TYPE6 enumeration value that indicates the type of the DHCP option. This value is used as the selector for the union arms listed in the following fields.

ScopeInfo

ScopeInfo.SubnetScopeInfo

IPv6 mask for the subnet that defines the DHCP scope.

ScopeInfo.ReservedScopeInfo

DHCP_RESERVED_SCOPE6 structure that contains the reserved DHCP scope information.

_DHCP_OPTION_SCOPE_UNION6

ScopeInfo.DefaultScopeInfo

Pointer to data the specifies the default scope information. This must be set to null.

Requirements

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

See also

DHCP_OPTION_SCOPE_TYPE6