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. |
A version of this page is also available for
4/8/2010
WaitForSingleObject
CEL_HEADER
This structure is used when WaitForMultipleObjects, MsgWaitForMultipleObjects, or WaitForSingleObjectis called.
Syntax
typedef struct __CEL_WAIT_MULTI { DWORD dwTimeout; DWORD fWaitAll:1; DWORD dwReserved:31; HANDLE hHandles[0]; } CEL_WAIT_MULTI, *PCEL_WAIT_MULTI; |
Members
- dwTimeout
-
Corresponds to the dwMillisecondsparameter of the Wait*APIs.
- fWaitAll
-
The low bit of the DWORDis set to the value of the fWaitAllparameter of the Wait*APIs. In Windows Embedded CE, this is always FALSE.
- dwReserved
-
The remaining 31 bits of the DWORDare 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 fWaitAlland dwReservedparameters are different fields of the same DWORD.
Requirements
Header | celog.h |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
WaitForMultipleObjectsWaitForSingleObject
CEL_HEADER