Partager via


CEL_EVENT_CREATE (Compact 2013)

3/28/2014

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

Syntax

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

Header

celog.h

See Also

Reference

CeLog Event Tracking Structures
CEL_HEADER
CreateEvent