IOCTL_SERIAL_CLEAR_STATS IOCTL (ntddser.h)

The IOCTL_SERIAL_CLEAR_STATS request clears the performance statistics for a serial device.

To obtain the performance statistics, a client can use an IOCTL_SERIAL_GET_STATS request.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

None.

Input buffer length

None.

Output buffer

None.

Output buffer length

None.

Status block

The Information field is set to zero.

The Status field is set to one of the Generic Status Values for Serial Device Control Requests.

Requirements

Requirement Value
Header ntddser.h (include Ntddser.h)

See also

IOCTL_SERIAL_GET_STATS