IOCTL_SERIAL_GET_COMMSTATUS control code

The IOCTL_SERIAL_GET_COMMSTATUS request returns information about the communication status of a serial device. For more information about the status information that is retrieved by this request, see SERIAL_STATUS.

Input Parameters

The Parameters.DeviceIoControl.OutputBufferLength member is set to the size in bytes of a SERIAL_STATUS structure.

Output Parameters

The AssociatedIrp.SystemBuffer member points to a client-allocated SERIAL_STATUS structure that the serial controller driver uses to output communication status information.

I/O Status Block

If the request is successful, the Information member is set to the size in bytes of a SERIAL_STATUS structure. Otherwise, the Information member is set to zero.

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

Requirements

Header

Ntddser.h (include Ntddser.h)

See also

SERIAL_STATUS

 

 

Send comments about this topic to Microsoft

Show: