DHCP_SCAN_FLAG enumeration (dhcpsapi.h)

The DHCP_SCAN_FLAG enumeration defines the set of possible targets of synchronization during a database scan operation.

Syntax

typedef enum _DHCP_SCAN_FLAG {
  DhcpRegistryFix,
  DhcpDatabaseFix
} DHCP_SCAN_FLAG, *LPDHCP_SCAN_FLAG;

Constants

 
DhcpRegistryFix
Indicates that the in-memory client lease cache on the DHCPv4 server does not contain the client lease IP address, but the DHCPv4 client lease database does contain it. (Note that this enumeration does not inform DhcpScanDatabase to perform a registry operation despite the name.) Any reconciliation process should update the in-memory cache.
DhcpDatabaseFix
Indicates that the client lease database on the DHCPv4 server does not contain the client lease IP address, but the in-memory cache of client leases does contain it. Any reconciliation process should update the database.

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_ITEM

DhcpScanDatabase