Thursday, May 19, 2011

Windows Code Tip

IOCTL_SERIAL_IMMEDIATE_CHAR doesn't work on #Windows using USB Serial adapters if the Write COMMTIMEOUTS are zero.

On fixed serial ports this functionality does work.

This is true for both
DeviceIoControl(Port, IOCTL_SERIAL_IMMEDIATE_CHAR .....
and
TransmitCommChar(Port, ...

No comments:

Post a Comment