IOCTL_SERIAL_WAIT_ON_MASK
This IOCTL instructs a serial driver to wait for a communications event that matches the event specified in the event mask.
Parameters
- dwOpenData
[in] Specifies the handle returned from a call to the COM_Open function. - dwCode
[in] Specifies this code. - pBufIn
Ignored. - dwLenIn
Ignored. - pBufOut
[out] Pointer to the DWORD to place in the event mask. - dwLenOut
[out] Specifies the size of the pBufOut pointer. - pdwActualOut
[out] Pointer to a DWORD to return the length of the returned data; should be set to sizeof(DWORD) if there is no error.
Remarks
The returned mask shows the event that terminated the wait. If a process attempts to change the device handle's event mask by using the IOCTL_SERIAL_SET_WAIT_MASK call, the driver should return immediately with (DWORD)0 as the returned event mask.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Pegdser.h.
See Also
IOCTL_SERIAL_GET_WAIT_MASK | IOCTL_SERIAL_SET_WAIT_MASK | COM_IOControl | COM_Open
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.