DhcpHlprIsV4PolicySingleUC function (dhcpsapi.h)

The DhcpHlprIsV4PolicySingleUC function verifies that a DHCP server policy is based on a single user class.

Syntax

BOOL DHCP_API_FUNCTION DhcpHlprIsV4PolicySingleUC(
  [in] LPDHCP_POLICY Policy
);

Parameters

[in] Policy

Pointer to a DHCP_POLICY structure that contains the policy to verify.

Return value

The API returns TRUE if there is a single condition associated with the specified policy. This condition should be based on one of the user classes defined on the DHCP server. Otherwise, it returns FALSE.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows ServerĀ 2012 [desktop apps only]
Target Platform Windows
Header dhcpsapi.h
Library Dhcpsapi.lib
DLL Dhcpsapi.dll

See also

DhcpHlprAddV4PolicyCondition

DhcpHlprAddV4PolicyExpr

DhcpHlprAddV4PolicyRange

DhcpHlprCreateV4Policy

DhcpHlprFreeV4Policy

DhcpHlprIsV4PolicyValid

DhcpHlprIsV4PolicyWellFormed

DhcpHlprModifyV4PolicyExpr

DhcpHlprResetV4PolicyExpr