UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:dhcpsapi.DhcpHlprIsV4PolicyWellFormed |
DhcpHlprIsV4PolicyWellFormed function (dhcpsapi.h) |
Verifies that a DHCP server policy structure is well formed. |
|
dhcp\dhcphlprisv4policywellformed.htm |
DHCP |
820b45f6-aa09-4e15-bf77-caa2723f4ea8 |
12/05/2018 |
DhcpHlprIsV4PolicyWellFormed, DhcpHlprIsV4PolicyWellFormed function [DHCP], dhcp.dhcphlprisv4policywellformed, dhcpsapi/DhcpHlprIsV4PolicyWellFormed |
dhcpsapi.h |
Windows |
None supported |
Windows Server 2012 [desktop apps only] |
Dhcpsapi.lib |
Dhcpsapi.dll |
Windows |
19H1 |
|
|
|
|
|
|
The DhcpHlprIsV4PolicyWellFormed function verifies that a DHCP server policy structure is well formed.
Pointer to DHCP_POLICY structure that contains the policy to verify
The API returns TRUE if the specified policy satisfies the conditions in the Remarks below. Otherwise, it returns FALSE.
The API performs the following validations on the policy conditions and expression structure.
- Every clause in the policy condition must have a valid parent expression.
- Every expression in the policy structure must have conditions or other expressions as children.
- Only one expression must be the root expression.
- All non-root expressions must have valid parent expression.
- There must be no cyclic relationship between the expressions. Each expression must have the parent expression index lesser than that of itself.