hsem (HEV) - input
This parameter is ignored if wait is set to 0.
The event semaphore may be shared or private, depending on whether the queue is shared across processes.
Note: The first time an event-semaphore handle is supplied in a DosReadQueue or DosPeekQueue request for which wait is set to 1, the handle is saved by the system. The same handle must be supplied in all subsequent DosReadQueue and DosPeekQueue requests that are issued for that queue.