IOCTL_SERIAL_IMMEDIATE_CHAR (Windows CE 5.0)
This IOCTL transmits a specified character ahead of any pending data in the output buffer of a communications device. The DeviceIoControl function executes this IOCTL.
Parameters
- dwOpenData
[in] Handle returned from a call to the COM_Open function. - dwCode
[in] Set to this IOCTL: IOCTL_SERIAL_IMMEDIATE_CHAR. - pBufIn
[in] Pointer to a UCHAR variable to send. - dwLenIn
[in] Set to sizeof(UCHAR). - pBufOut
Ignored. - dwLenOut
Ignored. - pdwActualOut
Ignored.
Return Values
Returns TRUE if successful. Returns FALSE otherwise. To obtain extended error information, call GetLastError.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Pegdser.h.
See Also
COM_IOControl | COM_Open | DeviceIoControl
Send Feedback on this topic to the authors