 |
CreateEvent ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The CreateEvent function creates or opens a named or unnamed event object. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HANDLE CreateEvent(
LPSECURITY_ATTRIBUTES lpEventAttributes, // SD
BOOL bManualReset, // reset type
BOOL bInitialState, // initial state
LPCTSTR lpName // object name
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CreateEvent IN kernel32;
INTEGER lpEventAttributes,;
INTEGER bManualReset,;
INTEGER bInitialState,;
STRING lpName
|
 |
 |
 |
| Parameters: |
 |
lpEventAttributes
[in] Pointer to a structure that determines whether the returned handle can be inherited by child processes.
bManualReset
[in] Specifies whether a manual-reset or auto-reset event object is created.
bInitialState
[in] Specifies the initial state of the event object.
lpName
[in] Pointer to a null-terminated string specifying the name of the event object. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a handle to the event object. |
 |
 |
| Word Index links for the CreateEvent : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-09-16 12:00:00 | | Modified: | 2001-11-26 16:03:38 | Visited in last 7 days: 21 |