>>-SysWaitEventSem(handle-+----------+-)-----------------------><
+-,timeout-+
Waits on an event semaphore. SysWaitEventSem returns the WaitForSingleObject return code.
Parameters:
- handle
A handle returned from a previous SysCreateEventSem call.
- timeout
The time, in milliseconds, to wait on the semaphore. The default timeout is an infinite wait.
Return codes:
- 0
No errors.
- Other
- 6
Invalid handle.
- 258
Timeout.