IOCTL_SERIAL_GET_PROPERTIES control code

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.

Input Parameters

The Parameters.DeviceIoControl.OutputBufferLength is set to the size, in bytes, of a SERIAL_COMMPROP structure.

Output Parameters

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.

I/O 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

 

 

Send comments about this topic to Microsoft

Show: