2.2.15.2.6 DNS_RPC_POLICY_NAME

The DNS_RPC_POLICY_NAME structure contains the details of the DNS policy when the DNS policies are enumerated at a specified level (section 2.2.15.1.1.3).

 typedef struct _DnsRpcPolicyType {
   LPWSTR pwszPolicyName;
   DNS_RPC_POLICY_TYPE appliesOn;
   BOOL fEnabled;
   DWORD processingOrder;
 } DNS_RPC_POLICY_NAME,
  *PDNS_RPC_POLICY_NAME;

pwszPolicyName: A NULL-terminated Unicode string containing the name of the DNS policy. The name is unique across a level as specified in DNS_RPC_POLICY_LEVEL (section 2.2.15.1.1.3).

appliesOn: This specifies the DNS operation to which the DNS policy applies. The value is of type DNS_RPC_POLICY_TYPE (section 2.2.15.1.1.5).

fEnabled: A BOOL variable that specifies whether a DNS policy is enabled.

processingOrder: An unsigned integer that specifies the order in which this DNS policy is processed, along with 0 or more other DNS policies for a given level (section 2.2.15.1.1.3) and DNS_RPC_POLICY_TYPE (section 2.2.15.1.1.5) during a DNS operation.