CEL_WAIT_MULTI (Windows CE 5.0)
This structure is used when WaitForMultipleObjects, MsgWaitForMultipleObjects, or WaitForSingleObject is called.
typedef struct __CEL_WAIT_MULTI {DWORDdwTimeout;DWORDfWaitAll:1;DWORDdwReserved:31;HANDLEhHandles[0];} CEL_WAIT_MULTI, *PCEL_WAIT_MULTI;
Members
- dwTimeout
Corresponds to the dwMilliseconds parameter of the Wait* APIs. - fWaitAll
The low bit of the DWORD is set to the value of the fWaitAll parameter of the Wait* APIs. In Windows CE, this is always FALSE. - dwReserved
The remaining 31 bits of the DWORD are reserved for future use. - hHandles
A list of handles that corresponds to the objects being waited on. There is a maximum of MAXIMUM_WAIT_OBJECTS in this list. The number of event handles can be inferred from the length given in the event header, CEL_HEADER.
Remarks
The fWaitAll and dwReserved parameters are different fields of the same DWORD.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Celog.h.
See Also
MsgWaitForMultipleObjects | WaitForMultipleObjects | WaitForSingleObject | CEL_HEADER
Send Feedback on this topic to the authors