Product SiteDocumentation Site

8.8. SysCloseEventSem


>>-SysCloseEventSem(handle)------------------------------------><

Closes an event semaphore.
Parameter:
handle
A handle returned from a previous SysCreateEventSem or SysOpenEventSem call.
Return codes:
0
No errors.
Other
An error occurred. On Windows, a Windows System Error code (Section 8.1, “A Note on Error Codes”) is returned. This may be one of the following, but could be others.
6
Invalid handle.
102
Error semaphore busy.