IOCTL_SERIAL_GET_COMMSTATUS - NtDoc

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

// CTL_CODE(0x001b, 0x01b, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_SERIAL_GET_COMMSTATUS 0x001B006C
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-ntddser-ioctl_serial_get_commstatus)

IOCTL_SERIAL_GET_COMMSTATUS IOCTL

Description

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.

Parameters

Major code

Input buffer

None.

Input buffer length

None.

Output buffer

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

Output buffer length

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

Input/output buffer

Input/output buffer length

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.

See also

SERIAL_STATUS