DhcpHlprIsV4PolicySingleUC function

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

Policy [in]

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Dhcpsapi.h

Library

Dhcpsapi.lib

DLL

Dhcpsapi.dll

See also

DhcpHlprAddV4PolicyCondition
DhcpHlprAddV4PolicyExpr
DhcpHlprAddV4PolicyRange
DhcpHlprCreateV4Policy
DhcpHlprFreeV4Policy
DhcpHlprIsV4PolicyValid
DhcpHlprIsV4PolicyWellFormed
DhcpHlprResetV4PolicyExpr
DhcpHlprModifyV4PolicyExpr

 

 

Show: