IOCTL_SERIAL_GET_PROPERTIES IOCTL

The IOCTL_SERIAL_GET_PROPERTIES request returns information about the capabilities of a serial controller. The capabilities information is returned in a SERIAL_COMMPROP structure.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

None.

Input Buffer Length

None.

Output Buffer

The AssociatedIrp.SystemBuffer points to a client-allocated SERIAL_COMMPROP structure that the serial controller driver uses to output information about the capabilities of the serial controller.

Output Buffer Length

The Parameters.DeviceIoControl.OutputBufferLength is set to the size, in bytes, of a SERIAL_COMMPROP 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_COMMPROP 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_COMMPROP