DHCP_SUBNET_INFO_V6 structure (dhcpsapi.h)

The DHCP_SUBNET_INFO_V6 structure contains information about an IPv6 subnet.

Syntax

typedef struct _DHCP_SUBNET_INFO_V6 {
  DHCP_IPV6_ADDRESS SubnetAddress;
  ULONG             Prefix;
  USHORT            Preference;
  LPWSTR            SubnetName;
  LPWSTR            SubnetComment;
  DWORD             State;
  DWORD             ScopeId;
} DHCP_SUBNET_INFO_V6, *PDHCP_SUBNET_INFO_V6, *LPDHCP_SUBNET_INFO_V6;

Members

SubnetAddress

DHCP_IPV6_ADDRESS structure containing the IPv6 prefix.

Prefix

ULONG value that specifies the length of the IPv6 prefix.

Preference

USHORT value that specifies the preference for the IPv6 prefix.

SubnetName

Pointer to a null-terminated Unicode string that contains the name of the IPv6 prefix.

SubnetComment

Pointer to a null-terminated Unicode string that contains an optional comment for the IPv6 prefix.

State

An enumeration of the DHCP_SUBNET_STATE that indicates the current state of the IPv6 prefix.

ScopeId

A DWORD value that serves as the unique identifier for the IPv6 prefix. This value is generated by the DHCPv6 server.

Requirements

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

See also

DHCP_IPV6_ADDRESS