Wait for the event to be signaled with timeout.
the maximum time to wait
true if the event is in signaled state, false if the event was nonsignaled for the given time or the event is uninitialized or another error occured
See Implementation
Wait for the event to be signaled with timeout.