hsem (HEV) - input

      The handle of an event semaphore that is to be posted when data is added to the queue and wait is set to 1.

      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.


    [Back] [Next]