pszName (PSZ) - input
If the semaphore is either a private or shared unnamed muxwait semaphore, this field must be null and the semaphore is identified by the pointer to the muxwait-semaphore handle (phmux).
If the semaphore is a shared named semaphore, this field is no null and phmux must be set to 0. (Private semaphores are always unnamed).
phmux (PHMUX) - in/out
Input
ulrc (APIRET) - returns
DosOpenMuxWaitSem returns one of the following values: