SCOPE_MIB_INFO_V5 structure (dhcpsapi.h)

The SCOPE_MIB_INFO_V5 structure contains information about a specific DHCP scope.

Syntax

typedef struct _SCOPE_MIB_INFO_V5 {
  DHCP_IP_ADDRESS Subnet;
  DWORD           NumAddressesInuse;
  DWORD           NumAddressesFree;
  DWORD           NumPendingOffers;
} SCOPE_MIB_INFO_V5, *LPSCOPE_MIB_INFO_V5;

Members

Subnet

DHCP_IP_ADDRESS value that contains the IP address of the subnet gateway that defines the scope.

NumAddressesInuse

The number of IP addresses in the scope that are currently assigned to DHCP clients.

NumAddressesFree

The number of IP addresses in the scope that are not currently assigned to DHCP clients.

NumPendingOffers

The number of IP addresses in the scope that have been offered to DHCP clients but have not yet received REQUEST messages.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server None supported
Header dhcpsapi.h

See also

DHCP_MIB_INFO_V5

DhcpGetMibInfoV5