Microsoft Windows CE 3.0  

IOCTL_SERIAL_WAIT_ON_MASK

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This code instructs a serial driver to wait for a communications event that matches the event specified in the event mask.

Parameters

dwOpenData
Handle returned from a call to the COM_Openfunction.
dwCode
Specifies this code.
pBufIn
Ignored.
dwLenIn
Ignored.
pBufOut
Pointer to the DWORDto place in the event mask. 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.
dwLenOut
Specifies the size of the pBufOutpointer.
pdwActualOut
Pointer to a DWORDto return the length of the returned data; should be set to sizeof( DWORD) if there is no error.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Pegdser.h Mdd.c  
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

IOCTL_SERIAL_GET_WAIT_MASK, IOCTL_SERIAL_SET_WAIT_MASK, COM_IOControl, COM_Open



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.