Lines Matching refs:hMutex
80 hSynch->hMutex = CreateMutex (lpSemaphoreAttributes, FALSE, NULL);
82 WaitForSingleObject (hSynch->hMutex, INFINITE);
87 ReleaseMutex (hSynch->hMutex);
110 WaitForSingleObject (hSemCE->hMutex, INFINITE);
129 ReleaseMutex (hSemCE->hMutex);
140 WaitResult = WaitForSingleObject (hSemCE->hMutex, dwMilliseconds);
150 ReleaseMutex (hSemCE->hMutex);
169 WaitResult = WaitForSingleObject (hSemCE->hMutex, dwMilliseconds);
181 ReleaseMutex (hSemCE->hMutex);
191 if (hSynch->hMutex != NULL) Result = Result && CloseHandle (hSynch->hMutex);
207 if ((Flags & 2) == 1 && (hSynch->hMutex == NULL)) ok = FALSE;