DhcpHlprFreeV4Policy function (dhcpsapi.h)

The DhcpHlprFreeV4Policy function frees the memory of all the data structures within a DHCP server policy structure.

Syntax

VOID DHCP_API_FUNCTION DhcpHlprFreeV4Policy(
  [in, out] LPDHCP_POLICY Policy
);

Parameters

[in, out] Policy

Pointer to DHCP_POLICY structure that contains the policy structure to free.

Return value

This function does not return a value.

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

DhcpHlprIsV4PolicySingleUC

DhcpHlprIsV4PolicyValid

DhcpHlprIsV4PolicyWellFormed

DhcpHlprModifyV4PolicyExpr

DhcpHlprResetV4PolicyExpr