共用方式為


2.2.15.2.7 DNS_RPC_ENUMERATE_POLICY_LIST

The DNS_RPC_ENUMERATE_POLICY_LIST structure contains all the DNS policies at a specified level (section 2.2.15.1.1.3).

 typedef struct _DnsRpcEnumPolicyList {
   [range(0,50000)] DWORD dwPolicyCount;
   [size_is(dwPolicyCount)] PDNS_RPC_POLICY_NAME pPolicyArray[];
 } DNS_RPC_ENUMERATE_POLICY_LIST,
  *PDNS_RPC_ENUMERATE_POLICY_LIST;

dwPolicyCount: An unsigned integer that specifies the total number of DNS_RPC_POLICY_NAME structures (section 2.2.15.2.6).

pPolicyArray: An array of pointers of DNS_RPC_POLICY_NAME (section 2.2.15.2.6) structures.