DhcpHlprModifyV4PolicyExpr function (dhcpsapi.h)
The DhcpHlprModifyV4PolicyExpr function modifies the DHCP server policy expression in a DHCP server policy structure.
Syntax
DWORD DHCP_API_FUNCTION DhcpHlprModifyV4PolicyExpr(
[in, out] LPDHCP_POLICY Policy,
[in] DHCP_POL_LOGIC_OPER Operator
);
Parameters
[in, out] Policy
Pointer to DHCP_POLICY structure that contains the policy to modify.
[in] Operator
A DHCP_POL_LOGIC_OPER enumeration that defines how the policy condition is to be evaluated in terms of the results of its constituents.
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.
Value | Meaning |
---|---|
|
One or more of the parameters were invalid. |
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 |