hmux (HMUX) - input
ulTimeout (ULONG) - input
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
pulUser (PULONG) - output
The user-defined value is received from the ulUser field of the SEMRECORD structure of the semaphore that was posted or released.
If DCMW_WAIT_ANY was specified in the flAttr. parameter when the muxwait semaphore was created, this will be the user field of the semaphore that was posted or released. If the muxwait semaphore consists of mutex semaphores, any mutex semaphore that is released is owned by the caller.
If DCMW_WAIT_ALL was specified in the flAttr. parameter when the muxwait semaphore was created, this will be the user field of the last semaphore that was posted or released. (If the thread did not block, the last semaphore that was posted or released will also be the last semaphore in the muxwait-semaphore list.) If the muxwait semaphore consists of mutex semaphores, all of the mutex semaphores that are released are owned by the caller.
ulrc (APIRET) - returns
DosWaitMuxWaitSem returns one of the following values: