Partager via


CEL_WAIT_MULTI

This structure is used when WaitForMultipleObjects, MsgWaitForMultipleObjects, or WaitForSingleObject is called.

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

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.