ulTimeout (ULONG) - input

      The time-out in milliseconds.

      This is the maximum amount of time the user wants to allow the thread to be blocked.

      This parameter can also have the following values:

      0L

        SEM_IMMEDIATE_RETURN
        DosWaitMuxWaitSem returns without blocking the calling thread.
      -1L
        SEM_INDEFINITE_WAIT
        DosWaitMuxWaitSem blocks the calling thread indefinitely.


      [Back] [Next]