Expand Minimize

DhcpHlprResetV4PolicyExpr function

The DhcpHlprResetV4PolicyExpr function resets the DHCP server policy expression in a DHCP server policy structure.

Syntax


DWORD DHCP_API_FUNCTION DhcpHlprResetV4PolicyExpr(
  _Inout_  LPDHCP_POLICY Policy
);

Parameters

Policy [in, out]

Pointer to DHCP_POLICY structure that contains the policy to reset.

Return value

If the function succeeds, it returns ERROR_SUCCESS.

If the function fails, it returns one of the following or an error code from DHCP Server Management API Error Codes.

ValueMeaning
ERROR_INVALID_PARAMETER

One or more of the parameters were invalid.

 

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
DhcpHlprIsV4PolicySingleUC
DhcpHlprIsV4PolicyValid
DhcpHlprIsV4PolicyWellFormed
DhcpHlprModifyV4PolicyExpr

 

 

Community Additions

ADD
Show:
© 2015 Microsoft