A set of flags that specify the attributes of the
semaphore.
The attributes of the semaphore are a combination of the following values:
DC_SEM_SHARED
The semaphore is shared when this bit is set; otherwise, it is a private
semaphore. This bit is checked only if the semaphore is unnamed (that is,
if pszName is null), because all named semaphores are shared.
DCMW_WAIT_ANY.
The semaphore clears when any event semaphore in its pSemRec list
is posted, or when any mutex semaphore in its pSemRec list is released.
When any one of the semaphores is cleared, the thread waiting for the muxwait
semaphore can continue execution.
DCMW_WAIT_ALL
The semaphore clears when all of the event semaphores in its pSemRec
list have been posted, or when all of the mutex semaphores in its pSemRec
list have been released. When all of the semaphores are cleared, the
thread waiting for the muxwait semaphore can continue execution.