DHCP_SUBNET_INFO_VQ structure (dhcpsapi.h)
The DHCP_SUBNET_INFO_VQ structure defines information that describes a subnet.
Syntax
typedef struct _DHCP_SUBNET_INFO_VQ {
DHCP_IP_ADDRESS SubnetAddress;
DHCP_IP_MASK SubnetMask;
LPWSTR SubnetName;
LPWSTR SubnetComment;
DHCP_HOST_INFO PrimaryHost;
DHCP_SUBNET_STATE SubnetState;
DWORD QuarantineOn;
DWORD Reserved1;
DWORD Reserved2;
INT64 Reserved3;
INT64 Reserved4;
} DHCP_SUBNET_INFO_VQ, *LPDHCP_SUBNET_INFO_VQ;
Members
SubnetAddress
DHCP_IP_ADDRESS value that specifies the subnet ID.
SubnetMask
DHCP_IP_MASK value that specifies the subnet IP mask.
SubnetName
Pointer to a Unicode string that specifies the network name of the subnet.
SubnetComment
Pointer to a 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).
QuarantineOn
Integer value used as a BOOL to represent whether or not Quarantine is enabled for the subnet. If TRUE (0x00000001), Quarantine is turned ON on the DHCP server; if FALSE (0x00000000), it is turned OFF.
Reserved1
Reserved for future use.
Reserved2
Reserved for future use.
Reserved3
Reserved for future use.
Reserved4
Reserved for future use.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | dhcpsapi.h |