Share via


CEL_WAIT_MULTI (Compact 2013)

3/28/2014

This structure is used when WaitForMultipleObjects, MsgWaitForMultipleObjects, or WaitForSingleObject is 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 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 Embedded Compact, this is always FALSE.
  • dwReserved
    The remaining 31 bits of the DWORD are reserved.
  • 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

Header

celog.h

See Also

Reference

CeLog Event Tracking Structures
WaitForMultipleObjects
WaitForSingleObject
CEL_HEADER

Other Resources

MsgWaitForMultipleObjects