2.2.1.2.45 DHCP_SUBNET_INFO_VQ

The DHCP_SUBNET_INFO_VQ structure contains the information about an IPv4 subnet. This structure is an extension of the DHCP_SUBNET_INFO (section 2.2.1.2.8) structure, adding information on NAP state for the IPv4 subnet. This structure is used in the R_DhcpCreateSubnetVQ (section 3.1.4.49) method.

 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;

SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1), a DWORD specifying the IPv4 subnet ID.

SubnetMask: This is of type DHCP_IP_MASK (section 2.2.1.2.2), a DWORD specifying the IPv4 subnet mask.

SubnetName: A pointer of type LPWSTR to a null-terminated Unicode string that points to the name of this IPv4 subnet. There is no restriction on the length of this Unicode string.

SubnetComment: A pointer of type LPWSTR to a null-terminated Unicode string that points to an optional comment specific to this IPv4 subnet. There is no restriction on the length of this Unicode string.

PrimaryHost: This is of type DHCP_HOST_INFO (section 2.2.1.2.7) structure that contains information about the DHCPv4 server servicing this IPv4 subnet.

SubnetState: This is of type DHCP_SUBNET_STATE (section 2.2.1.1.2) enumeration that indicates the current state of this IPv4 subnet.

QuarantineOn: The information relating to the NAP state of this IPv4 subnet.

Reserved1: This is of type DWORD. Currently it is not used, and any value set to this field will not affect the behavior of the method that uses this structure. The value returned in this parameter from the server is ignored.

Reserved2: This is of type DWORD. Currently it is not used, and any value set to this field will not affect the behavior of the method that uses this structure. The value returned in this parameter from the server is ignored.

Reserved3: This is of type INT64. Currently it is not used, and any value set to this field will not affect the behavior of the method that uses this structure. The value returned in this parameter from the server is ignored.

Reserved4: This is of type INT64. Currently it is not used, and any value set to this field will not affect the behavior of the method that uses this structure. The value returned in this parameter from the server is ignored.