IOCTL_SERIAL_GET_PROPERTIES IOCTL (ntddser.h)

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.

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

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

See also

SERIAL_COMMPROP