// ntddser.h
// CTL_CODE(0x001b, 0x01d, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_SERIAL_GET_PROPERTIES 0x001B0074
View the official Windows Driver Kit DDI referenceNo description available.
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.
None.
None.
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.
The Parameters.DeviceIoControl.OutputBufferLength is set to the size, in bytes, of a SERIAL_COMMPROP structure.
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.