DHCP_SUBNET_INFO structure (dhcpsapi.h)
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
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | dhcpsapi.h |