SERIALPERF_STATS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddser.h

typedef struct _SERIALPERF_STATS {
  ULONG ReceivedCount;
  ULONG TransmittedCount;
  ULONG FrameErrorCount;
  ULONG SerialOverrunErrorCount;
  ULONG BufferOverrunErrorCount;
  ULONG ParityErrorCount;
} SERIALPERF_STATS, *PSERIALPERF_STATS;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddser-_serialperf_stats)

_SERIALPERF_STATS structure

Description

The SERIALPERF_STATS structure contains performance statistics for a serial port.

Members

ReceivedCount

The number of characters received since either the serial port was opened or the last IOCTL_SERIAL_CLEAR_STATS request was processed.

TransmittedCount

The number of characters transmitted since either the serial port was opened or the last IOCTL_SERIAL_CLEAR_STATS request was processed.

FrameErrorCount

The number of frame errors detected since either the serial port was opened or the last IOCTL_SERIAL_CLEAR_STATS request was processed.

SerialOverrunErrorCount

The number of serial overrun errors detected since either the serial port was opened or the last IOCTL_SERIAL_CLEAR_STATS request was processed.

BufferOverrunErrorCount

The number of buffer overrun errors detected since either the serial port was opened or the last IOCTL_SERIAL_CLEAR_STATS request was processed.

ParityErrorCount

The number of parity errors detected since either the serial port was opened or the last IOCTL_SERIAL_CLEAR_STATS request was processed.

Remarks

This structure is used by the IOCTL_SERIAL_GET_STATS request.

To reset the performance statistics to zero, send an IOCTL_SERIAL_CLEAR_STATS request.

See also

IOCTL_SERIAL_CLEAR_STATS

IOCTL_SERIAL_GET_STATS