- Timestamp:
- Jun 13, 2002, 4:02:50 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wndhandle.cpp
r8626 r8656 1 /* $Id: win32wndhandle.cpp,v 1.1 3 2002-06-09 19:54:28sandervl Exp $ */1 /* $Id: win32wndhandle.cpp,v 1.14 2002-06-13 14:02:50 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Handle Management Code for OS/2 … … 19 19 #include <vmutex.h> 20 20 #include "win32wndhandle.h" 21 #include <custombuild.h> 21 22 22 23 #define DBG_LOCALLOG DBG_win32wndhandle … … 32 33 #pragma data_seg() 33 34 35 static char *pszWndHandleSemName = NULL; 36 37 //****************************************************************************** 38 //****************************************************************************** 39 void WIN32API SetCustomWndHandleSemName(LPSTR pszSemName) 40 { 41 pszWndHandleSemName = pszSemName; 42 } 34 43 //****************************************************************************** 35 44 //****************************************************************************** … … 37 46 { 38 47 if(globalwhandlecritsect.hmtxLock == 0) { 39 DosInitializeCriticalSection(&globalwhandlecritsect, WINHANDLE_CRITSECTION_NAME);48 DosInitializeCriticalSection(&globalwhandlecritsect, (pszWndHandleSemName) ? pszWndHandleSemName : WINHANDLE_CRITSECTION_NAME); 40 49 } 41 50 else {
Note:
See TracChangeset
for help on using the changeset viewer.