2.2.2.20.1.2 PROTOCOLCOUNTERS

Protocol performance counters.

 typedef struct _PROTOCOLCOUNTERS {
   ULONG WdBytes;
   ULONG WdFrames;
   ULONG WaitForOutBuf;
   ULONG Frames;
   ULONG Bytes;
   ULONG CompressedBytes;
   ULONG CompressFlushes;
   ULONG Errors;
   ULONG Timeouts;
   ULONG AsyncFramingError;
   ULONG AsyncOverrunError;
   ULONG AsyncOverflowError;
   ULONG AsyncParityError;
   ULONG TdErrors;
   USHORT ProtocolType;
   USHORT Length;
   union {
     TSHARE_COUNTERS TShareCounters;
     ULONG Reserved[100];
   } Specific;
 } PROTOCOLCOUNTERS,
  *PPROTOCOLCOUNTERS;

WdBytes: WinStation driver number of bytes sent and received.

WdFrames: WinStation driver number of frames sent and received.

WaitForOutBuf: The number of times waited for an output buffer to become available.

Frames: Transport driver number of frames.

Bytes: Transport driver number of bytes.

CompressedBytes: Number of compressed bytes.

CompressFlushes: Number of compress flushes. A compress flush occurs when compression for a packet fails and the original uncompressed packet replaces it.

Errors: Number of packets that were in error during the session.

Timeouts: Number of time-outs.

AsyncFramingError: Number of async framing errors.

AsyncOverrunError: Number of async overrun errors.

AsyncOverflowError: Number of async overflow errors.

AsyncParityError: Number of async parity errors.

TdErrors: Number of transport protocol errors.

ProtocolType: Protocol type.

Length: Length of data in the protocol-specific area. Can be up to 100 * sizeof(ULONG) in size.

Specific: Specifies which types of counters are to be queried. It can be one of the following:

TShareCounters: Protocol performance counters.

Reserved: Reserved for future use.