Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
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 DWORDbit is the value passed to the bManualResetparameter of CreateEvent.
- fCreate
-
Boolean. Set to TRUE if the event was created; FALSE indicates that it was opened by a thread.
- fInitialState
-
This DWORDbit is the value passed to the bInitialStateparameter of CreateEvent.
- dwReserved
-
The remaining 29 bits of the DWORDare 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_HEADERevent header.
Remarks
The parameters fManual, fInitialState, and dwReservedare 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 |