This content has been marked as final. Show 1 reply
- The IRP_MJ_READ may fail in case the timeout set by the COM port driver is less. This is a valid setting since this timeout can be overridden by the driver or the application using the COM port. Below are the APIs that can be used in the host application or in the driver respectively.
Driver API: IOCTL_SERIAL_SET_TIMEOUTS
App API: SetCommTimeouts