IOCTL_SERIAL_GET_DTRRTS IOCTL

The IOCTL_SERIAL_GET_DTRRTS request returns information about the data terminal ready (DTR) control signal and the request to send (RTS) control signal.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

None.

Input Buffer Length

None.

Output Buffer

The AssociatedIrp.SystemBuffer member points to a client-allocated ULONG buffer that Serial.sys uses to output information about the DTR and RTS. The ULONG buffer is set to zero or to the bitwise-OR of one or more of the following flag bits:

Output Buffer Length

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

Status Block

If the request is successful, the Information member is set to the size in bytes of a ULONG. 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

IOCTL_SERIAL_SET_DTR

IOCTL_SERIAL_SET_RTS