DHCP_SCAN_ITEM structure (dhcpsapi.h)

The DHCP_SCAN_ITEM structure defines a desynchronized client lease address stored on a DHCPv4 server, and the location in which it should be fixed (in-memory cache or database).

Syntax

typedef struct _DHCP_SCAN_ITEM {
  DHCP_IP_ADDRESS IpAddress;
  DHCP_SCAN_FLAG  ScanFlag;
} DHCP_SCAN_ITEM, *LPDHCP_SCAN_ITEM;

Members

IpAddress

DHCP_IP_ADDRESS value that specifies the address whose lease status was changed during a scan operation.

ScanFlag

DHCP_SCAN_FLAG enumeration value that indicates whether the supplied client lease IP address will be fixed in the DHCPv4 server's in-memory client lease cache or the client lease database proper.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008, Windows Server 2008 R2 [desktop apps only]
Header dhcpsapi.h

See also

DHCP_SCAN_FLAG

DHCP_SCAN_LIST

DhcpScanDatabase