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