2.2.17.1.1 DNS_RPC_VIRTUALIZATION_INSTANCE

The DNS_RPC_VIRTUALIZATION_INSTANCE structure contains details of a virtualization instance in a DNS server.

 typedef struct _DnssrvRpcVirtualizationInstance
 {
     DWORD                   dwRpcStructureVersion;
     DWORD                   dwReserved;
     DWORD                   dwFlags;
     LPWSTR                  pwszVirtualizationID;
     LPWSTR                  pwszFriendlyName;
     LPWSTR                  pwszDescription;
 }
 DNS_RPC_VIRTUALIZATION_INSTANCE, *PDNS_RPC_VIRTUALIZATION_INSTANCE;

dwRpcStructureVersion: Contains the DNS management structure version number. This value MUST be set to 0x00000000.

dwReserved: MUST be set to zero when sent and MUST be ignored on receipt.

dwFlags: This is used during the modification and deletion of a DNS virtualization instance. The various bits show which members of the DNS virtualization instance are to be updated and other usage. This field is used for updating the properties of a DNS virtualization instance with operation UpdateVirtualizationInstance as specified in section 3.1.4.1.

PropertyName

Bit Used

DNS_RPC_FLAG_PRESERVE_ZONE_FILE        

0x00000001

DNS_RPC_FLAG_FRIENDLY_NAME

0x00000002

DNS_RPC_FLAG_DESC

0x00000004

pwszVirtualizationID: A NULL-terminated Unicode string that uniquely identifies a particular virtualization instance in a DNS server. The maximum length of this identifier is limited to 64 characters.

pwszFriendlyName: A NULL-terminated Unicode string that contains a user friendly name of the DNS virtualization instance.

pwszDescription: A NULL-terminated Unicode string that contains description of the DNS virtualization instance.