IOCTL_SERIAL_GET_WAIT_MASK (Windows CE 5.0)
This IOCTL retrieves the value of the wait mask. 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_GET_WAIT_MASK. - pBufIn
Ignored. - dwLenIn
Ignored. - pBufOut
[out] Pointer to a DWORD variable to place the event mask. - dwLenOut
[out] Greater than or equal to sizeof(DWORD). - pdwActualOut
[out] Pointer to a DWORD variable to place the length of the data. If there is no error, set to sizeof(DWORD).
Return Values
Returns TRUE if successful. Returns FALSE otherwise. To get extended error information, call GetLastError.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Pegdser.h.
See Also
COM_IOControl | COM_Open | DeviceIoControl | GetCommMask | IOCTL_SERIAL_SET_WAIT_MASK
Send Feedback on this topic to the authors