ulTimeout (ULONG) - input

      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:

      SEM_IMMEDIATE_RETURN (0)

        WinWaitMuxWaitSem returns without blocking the calling thread.
      SEM_INDEFINITE_WAIT (-1)
        WinWaitMuxWaitSem blocks the calling thread indefinitely.


      [Back] [Next]