- Timestamp:
- Jan 2, 2003, 12:50:46 PM (23 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/oslibmisc.cpp
r6500 r9582 1 /* $Id: oslibmisc.cpp,v 1.1 3 2001-08-09 08:45:06 sandervl Exp $ */1 /* $Id: oslibmisc.cpp,v 1.14 2003-01-02 11:50:46 sandervl Exp $ */ 2 2 /* 3 3 * Misc OS/2 util. procedures … … 271 271 //****************************************************************************** 272 272 //****************************************************************************** 273 ULONG OSLibWinSetCp(ULONG hmq, ULONG codepage) 274 { 275 return WinSetCp(hmq, codepage); 276 } 277 //****************************************************************************** 278 //****************************************************************************** 273 279 ULONG OSLibQueryCountry() 274 280 { -
trunk/src/kernel32/oslibmisc.h
r7963 r9582 1 /* $Id: oslibmisc.h,v 1. 9 2002-02-19 13:08:19sandervl Exp $ */1 /* $Id: oslibmisc.h,v 1.10 2003-01-02 11:50:46 sandervl Exp $ */ 2 2 /* 3 3 * Misc util. procedures … … 44 44 ULONG OSLibWinInitialize(); 45 45 ULONG OSLibWinQueryMsgQueue(ULONG hab); 46 ULONG OSLibWinSetCp(ULONG hmq, ULONG codepage); 46 47 47 48 //#define CTRY_NONE 0 -
trunk/src/kernel32/thread.cpp
r8648 r9582 1 /* $Id: thread.cpp,v 1.4 6 2002-06-11 16:36:54sandervl Exp $ */1 /* $Id: thread.cpp,v 1.47 2003-01-02 11:50:46 sandervl Exp $ */ 2 2 3 3 /* … … 33 33 #include "oslibdos.h" 34 34 #include <handlemanager.h> 35 #include <codepage.h> 35 36 36 37 #define DBG_LOCALLOG DBG_thread … … 101 102 //****************************************************************************** 102 103 #define MAX_CALLSTACK_SIZE 128 104 #ifdef DEBUG 105 static char *pszLastCaller = NULL; 106 #endif 103 107 //****************************************************************************** 104 108 void WIN32API dbg_ThreadPushCall(char *pszCaller) … … 112 116 return; 113 117 114 teb->o.odin.dbgCallDepth++;115 116 118 // add caller name to call stack trace 117 119 int iIndex = teb->o.odin.dbgCallDepth; … … 124 126 if (iIndex < MAX_CALLSTACK_SIZE) 125 127 teb->o.odin.arrstrCallStack[iIndex] = (PVOID)pszCaller; 128 129 teb->o.odin.dbgCallDepth++; 130 131 pszLastCaller = pszCaller; 126 132 #endif 127 133 } … … 305 311 winteb->o.odin.hab = OSLibWinInitialize(); 306 312 winteb->o.odin.hmq = OSLibWinQueryMsgQueue(winteb->o.odin.hab); 313 rc = OSLibWinSetCp(winteb->o.odin.hmq, GetDisplayCodepage()); 314 dprintf(("WinSetCP was %sOK", rc ? "" : "not ")); 315 307 316 dprintf(("Win32ThreadProc: hab %x hmq %x", winteb->o.odin.hab, winteb->o.odin.hmq)); 308 317 dprintf(("Stack top 0x%x, stack end 0x%x", winteb->stack_top, winteb->stack_low));
Note:
See TracChangeset
for help on using the changeset viewer.