Expand Minimize

DHCP_SUBNET_INFO structure

The DHCP_SUBNET_INFO structure defines information describing a subnet.

Syntax


typedef struct _DHCP_SUBNET_INFO {
  DHCP_IP_ADDRESS   SubnetAddress;
  DHCP_IP_MASK      SubnetMask;
  LPWSTR            SubnetName;
  LPWSTR            SubnetComment;
  DHCP_HOST_INFO    PrimaryHost;
  DHCP_SUBNET_STATE SubnetState;
} DHCP_SUBNET_INFO, *LPDHCP_SUBNET_INFO;

Members

SubnetAddress

DHCP_IP_ADDRESS value that specifies the subnet ID.

SubnetMask

DHCP_IP_MASK value that specifies the subnet IP mask.

SubnetName

Unicode string that specifies the network name of the subnet.

SubnetComment

Unicode string that contains an optional comment particular to this subnet.

PrimaryHost

DHCP_HOST_INFO structure that contains information about the DHCP server servicing this subnet.

SubnetState

DHCP_SUBNET_STATE enumeration value indicating the current state of the subnet (enabled/disabled).

Requirements

Minimum supported client

None supported

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Dhcpsapi.h

See also

DHCP_HOST_INFO
DHCP_SUBNET_STATE
DhcpGetSubnetInfo

 

 

Community Additions

ADD
Show:
© 2015 Microsoft