Share via


CEL_EVENT_CREATE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Header celog.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

CEL_HEADER
CreateEvent