2.2.13.1.2.1 DNS_RPC_ZONE_SCOPE_CREATE_INFO_V1

The DNS_RPC_ZONE_SCOPE_CREATE_INFO_V1 structure<87> contains the name of the zone scope or cache scope.

 typedef struct _DnsRpcScopeCreate {
   DWORD dwFlags;
   LPWSTR pwszScopeName;
 } DNS_RPC_ZONE_SCOPE_CREATE_INFO_V1,
  *PDNS_RPC_ZONE_SCOPE_CREATE_INFO_V1;

dwFlags: Specifies the behavior that the DNS server SHOULD follow when creating the scope. This field is used only when the operation is CreateZoneScope. For any other value than the following, a new empty zone scope is created:

Value

Meaning

DNS_ZONE_LOAD_OVERWRITE_MEMORY

0x00000010

If this value is specified, the DNS server MUST attempt to find and load the zone scope database from persistent storage instead of creating a new empty zone scope. If a pre-existing zone scope database is not found, or if there is a failure in loading the existing database, the DNS server MUST fail the operation and return an error. If a cache scope is being created, this operation fails on the DNS server and an ERROR_INVALID_PARAMETER error is returned.

pwszScopeName: The name of the zone scope or cache scope.