3.2.4.127 R_DhcpV4CreatePolicyEx (Opnum 126)
The R_DhcpV4CreatePolicyEx method creates the policy according to the data specified in the policy data structure.
The R_DhcpV4CreatePolicyEx method is an extension of the R_DhcpV4CreatePolicy (Opnum 108) (section 3.2.4.109) method, where a DHCP_POLICY_EX (section 2.2.1.2.121) structure is specified for the pPolicy parameter, rather than a DHCP_POLICY (section 2.2.1.2.110) structure. The structure contains the members of the policy to be created.
Using the extension method, a list of DHCP_PROPERTY (section 2.2.1.2.117) elements can be specified that can be associated with the given policy when creating the policy.
-
DWORD R_DhcpV4CreatePolicyEx( [in, unique, string] DHCP_SRV_HANDLE ServerIpAddress, [in] LPDHCP_POLICY_EX pPolicy );
ServerIpAddress: As specified in R_DhcpV4CreatePolicy (Opnum 108).
pPolicy: A DHCP_POLICY_EX (section 2.2.1.2.121) structure that specifies a list of DHCP_PROPERTY (section 2.2.1.2.117) elements that can be associated with the given policy when creating the policy.
Return Values: As specified in R_DhcpV4CreatePolicy (Opnum 108).
The opnum field value for this method is 126.
The remainder of the processing behavior for this method is as defined for the R_DhcpV4CreatePolicy (Opnum 108) method.