Share via


CEL_WAIT_MULTI (Windows Embedded CE 6.0)

1/6/2010

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 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

Header celog.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

CeLog Event Tracking Structures
WaitForMultipleObjects
WaitForSingleObject
CEL_HEADER

Other Resources

MsgWaitForMultipleObjects