Partager via


CEL_EVENT_CREATE

This structure is passed when an event is created or opened with CreateEvent.

typedef struct __CEL_EVENT_CREATE {
  HANDLE hEvent;
  DWORD fManual:1;
  DWORD fInitialState:1;
  DWORD fCreate:1;
  DWORD dwReserved:29;
  WCHAR szName[0]; 
} CEL_EVENT1, *PCEL_EVENT1;

Members

  • hEvent
    Handle of the event object.
  • fManual
    This DWORD bit is the value passed to the bManualReset parameter of CreateEvent.
  • fCreate
    Boolean. Set to TRUE if the event was created; FALSE indicates that it was opened by a thread.
  • fInitialState
    This DWORD bit is the value passed to the bInitialState parameter of CreateEvent.
  • dwReserved
    The remaining 29 bits of the DWORD are reserved for future use.
  • szName
    Name of the event if one has been specified. The length of the event name can be inferred from the length given in the CEL_HEADER event header.

Remarks

The parameters fManual, fInitialState, and dwReserved are different fields of the same DWORD.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Celog.h.

See Also

CEL_HEADER | CreateEvent

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.