Given the use WAIT_OBJECT_0 as in the following:
DWORD waitStatus = WaitForSingleObject(sharedMemoryMutex, INFINITE) if(waitStatus == WAIT_OBJECT_0) { Rel