共用方式為


2.2.1.2.2 DNS_RPC_BUFFER

The DNS_RPC_BUFFER structure contains a set of a specific type of structures. The DNS Server Management Protocol uses this structure to return information from the server, while processing R_DnssrvComplexOperation2 (section 3.1.4.8) method calls with operation type "Statistics".

 typedef struct _DnssrvRpcBuffer {
   DWORD dwLength;
   [size_is(dwLength)] BYTE Buffer[];
 } DNS_RPC_BUFFER,
  *PDNS_RPC_BUFFER;

dwLength: The length, in bytes, of the data stored in Buffer.

Buffer: A variable length array of bytes of length specified by dwLength. The buffer can contain one or more DNS_RPC_NODE structures (section 2.2.2.2.3). Each DNS_RPC_NODE contains the length of that node, so the DNS_RPC_BUFFER dwLength can be larger to indicate multiple DNS_RPC_NODE structures.