共用方式為


2.2.10.2.1 DNSSRV_STAT_HEADER

The DNSSRV_STAT_HEADER structure precedes each DNSSRV_STATS structure (section 2.2.10.2.2) which provides DNS server runtime statistics. This structure MUST be formatted as follows:

 typedef struct _DnsStatHeader {
   DWORD StatId;
   WORD wLength;
   BOOLEAN fClear;
   UCHAR fReserved;
 } DNSSRV_STAT_HEADER,
  *PDNSSRV_STAT_HEADER;

StatId: The type of statistics contained in the DNSSRV_STATS structure. This value MUST be set to one of the allowed values specified in section 2.2.10.1.1.

wLength: The length, in bytes, of the Buffer member in the DNSSRV_STATS structure (section 2.2.10.2.2).

fClear: A Boolean value that indicates whether the server is to clear the statistics buffer for the server attribute indicated at by StatId.

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