Changeset 10544 for trunk/src/user32/win32wndhandle.cpp
- Timestamp:
- Mar 18, 2004, 2:18:33 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wndhandle.cpp
r10379 r10544 1 /* $Id: win32wndhandle.cpp,v 1. 19 2004-01-11 12:03:21sandervl Exp $ */1 /* $Id: win32wndhandle.cpp,v 1.20 2004-03-18 13:18:33 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Handle Management Code for OS/2 … … 47 47 void InitializeWindowHandles() 48 48 { 49 if(globalwhandlecritsect.h mtxLock == 0) {49 if(globalwhandlecritsect.hevLock == 0) { 50 50 dprintf(("InitializeWindowHandles %x -> create shared critical section", &globalwhandlecritsect)); 51 DosInitializeCriticalSection(&globalwhandlecritsect, pszWndHandleSemName);52 51 } 53 52 else { 54 53 dprintf(("InitializeWindowHandles %x -> access shared critical section", &globalwhandlecritsect)); 55 DosAccessCriticalSection(&globalwhandlecritsect, pszWndHandleSemName);56 54 } 55 DosAccessCriticalSection(&globalwhandlecritsect, pszWndHandleSemName); 57 56 } 58 57 //****************************************************************************** … … 60 59 void FinalizeWindowHandles() 61 60 { 62 dprintf(("FinalizeWindowHandles %x", &globalwhandlecritsect));63 61 DosDeleteCriticalSection(&globalwhandlecritsect); 64 62 }
Note:
See TracChangeset
for help on using the changeset viewer.