|
|
◆ Create() [3/3]
| static CwclEvent * Create |
( |
const bool | ManualReset, |
|
|
const tstring & | Name, |
|
|
bool & | Exist ) |
|
static |
Creates or opens a named event object.
- Parameters
-
| ManualReset | If this parameter is true, the method creates a manual-reset event object, which requires the use of the ResetEvent method to set the event state to nonsignaled. If this parameter is false, the method creates an auto-reset event object, and the system automatically resets the event state to nonsignaled after a single waiting thread has been released. |
| Name | The event name. |
| Exist | If the method completed with success the parameter indicates whether a named event object was just created or existing was opened. true indicates that an event object was opened. false indicates that a new event object was created. |
- Returns
- If the method completed with success the returning value is a new CwclEvent object. If the method failed the returning value is
NULL.
CwclEvent
|