When the parameter pszName is null, phmux must point to have a valid handle. This handle can be created through DosCreateMuxWaitSem or through the situation described in this function.

DosOpenMuxWaitSem opens (obtains access to) a multiple wait (muxwait) semaphore for all of the threads in the calling process.

Note: The process that created the semaphore has immediate access to the semaphore, and does not need to call DosOpenMuxWaitSem.