- Timestamp:
- Mar 19, 2001, 8:27:14 PM (24 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/KERNEL32.DEF
r5075 r5332 1 ; $Id: KERNEL32.DEF,v 1.9 7 2001-02-09 18:31:05sandervl Exp $1 ; $Id: KERNEL32.DEF,v 1.98 2001-03-19 19:27:13 sandervl Exp $ 2 2 3 3 ;Basis is Windows95 KERNEL32 … … 1150 1150 _FreeOS2Resource@4 @2009 NONAME 1151 1151 1152 _InitializeTIB@4 @2010 NONAME 1153 _DestroyTIB@0 @2011 NONAME 1154 _GetProcessTIBSel@0 @2012 NONAME 1155 1152 1156 GetDisplayCodepage__Fv @3000 NONAME 1153 1157 GetWindowsCodepage__Fv @3001 NONAME 1154 1158 1155 -
trunk/src/kernel32/hmevent.cpp
r2802 r5332 1 /* $Id: hmevent.cpp,v 1. 3 2000-02-16 14:23:59sandervl Exp $ */1 /* $Id: hmevent.cpp,v 1.4 2001-03-19 19:27:13 sandervl Exp $ */ 2 2 3 3 /* … … 140 140 BOOL HMDeviceEventClass::SetEvent(PHMHANDLEDATA pHMHandleData) 141 141 { 142 //testestest 142 143 dprintf(("KERNEL32: HandleManager::Event::SetEvent(%08xh)\n", 143 pHMHandleData->hHMHandle));144 pHMHandleData->hHMHandle)); 144 145 145 146 return (O32_SetEvent(pHMHandleData->hHMHandle)); … … 161 162 BOOL HMDeviceEventClass::PulseEvent(PHMHANDLEDATA pHMHandleData) 162 163 { 163 dprintf (("KERNEL32: HandleManager::Event::PulseEvent(%08xh)\n",164 pHMHandleData->hHMHandle));164 dprintf2(("KERNEL32: HandleManager::Event::PulseEvent(%08xh)\n", 165 pHMHandleData->hHMHandle)); 165 166 166 167 return (O32_PulseEvent(pHMHandleData->hHMHandle)); … … 182 183 BOOL HMDeviceEventClass::ResetEvent(PHMHANDLEDATA pHMHandleData) 183 184 { 184 dprintf (("KERNEL32: HandleManager::Event::ResetEvent(%08xh)\n",185 pHMHandleData->hHMHandle));185 dprintf2(("KERNEL32: HandleManager::Event::ResetEvent(%08xh)\n", 186 pHMHandleData->hHMHandle)); 186 187 187 188 return (O32_ResetEvent(pHMHandleData->hHMHandle)); -
trunk/src/kernel32/hmopen32.cpp
r4407 r5332 1 /* $Id: hmopen32.cpp,v 1.2 7 2000-10-03 17:28:30sandervl Exp $ */1 /* $Id: hmopen32.cpp,v 1.28 2001-03-19 19:27:13 sandervl Exp $ */ 2 2 3 3 /* … … 199 199 DWORD dwTimeout) 200 200 { 201 DWORD rc, starttime, endtime; 202 203 dprintfl(("KERNEL32: HandleManager::Open32::WaitForSingleObject(%08xh,%08h)\n", 201 DWORD rc; 202 #ifdef DEBUG 203 DWORD starttime, endtime; 204 #endif 205 206 dprintfl(("KERNEL32: HandleManager::Open32::WaitForSingleObject(%08xh %08xh)\n", 204 207 pHMHandleData->hHMHandle, 205 208 dwTimeout)); 206 209 210 #ifdef DEBUG 207 211 if(dwTimeout) { 208 starttime = O32_GetCurrentTime();212 starttime = O32_GetCurrentTime(); 209 213 } 214 #endif 210 215 rc = (O32_WaitForSingleObject(pHMHandleData->hHMHandle, 211 216 dwTimeout)); 217 #ifdef DEBUG 212 218 if(dwTimeout) { 213 endtime = O32_GetCurrentTime();214 dprintf(("KERNEL32: HandleManager::WaitForSingleObject %x delta = %x (rc=%x)", pHMHandleData->hHMHandle, endtime - starttime, rc));219 endtime = O32_GetCurrentTime(); 220 dprintf2(("KERNEL32: HandleManager::WaitForSingleObject %x %x delta = %x (rc=%x)", pHMHandleData->hHMHandle, dwTimeout, endtime - starttime, rc)); 215 221 } 216 else dprintf(("KERNEL32: HandleManager::WaitForSingleObject %x rc=%x", pHMHandleData->hHMHandle, rc)); 222 else dprintf2(("KERNEL32: HandleManager::WaitForSingleObject %x 0 rc=%x", pHMHandleData->hHMHandle, rc)); 223 #endif 217 224 return rc; 218 225 } -
trunk/src/kernel32/hmthread.cpp
r4609 r5332 1 /* $Id: hmthread.cpp,v 1. 5 2000-11-17 14:34:06sandervl Exp $ */1 /* $Id: hmthread.cpp,v 1.6 2001-03-19 19:27:13 sandervl Exp $ */ 2 2 3 3 /* … … 84 84 INT HMDeviceThreadClass::GetThreadPriority(PHMHANDLEDATA pHMHandleData) 85 85 { 86 dprintf(("OS2GetThreadPriority(%08xh)\n", 87 pHMHandleData->hHMHandle)); 86 dprintf(("GetThreadPriority(%08xh)\n", pHMHandleData->hHMHandle)); 88 87 89 88 return O32_GetThreadPriority(pHMHandleData->hHMHandle); … … 93 92 DWORD HMDeviceThreadClass::SuspendThread(PHMHANDLEDATA pHMHandleData) 94 93 { 95 dprintf(("OS2SuspendThread %08xh)\n", 96 pHMHandleData->hHMHandle)); 94 dprintf(("SuspendThread %08xh)\n", pHMHandleData->hHMHandle)); 97 95 98 96 return O32_SuspendThread(pHMHandleData->hHMHandle); … … 102 100 BOOL HMDeviceThreadClass::SetThreadPriority(PHMHANDLEDATA pHMHandleData, int priority) 103 101 { 104 dprintf((" OS2SetThreadPriority (%08xh,%08xh)\n",102 dprintf(("SetThreadPriority (%08xh,%08xh)\n", 105 103 pHMHandleData->hHMHandle, 106 104 priority)); -
trunk/src/kernel32/kobjects.cpp
r3259 r5332 1 /* $Id: kobjects.cpp,v 1.1 1 2000-03-28 17:11:49sandervl Exp $ */1 /* $Id: kobjects.cpp,v 1.12 2001-03-19 19:27:13 sandervl Exp $ */ 2 2 3 3 /* … … 254 254 255 255 /***************************************************************************** 256 * Name : DWORD OS2WaitForSingleObjectEx256 * Name : DWORD WaitForSingleObjectEx 257 257 * Purpose : The WaitForSingleObjectEx function is an extended wait function 258 258 * that can be used to perform an alertable wait. This enables the -
trunk/src/kernel32/misc.cpp
r5243 r5332 1 /* $Id: misc.cpp,v 1.3 1 2001-02-22 18:12:06sandervl Exp $ */1 /* $Id: misc.cpp,v 1.32 2001-03-19 19:27:13 sandervl Exp $ */ 2 2 3 3 /* … … 257 257 #endif 258 258 259 //#define LOG_TIME 260 #ifdef LOG_TIME 261 DWORD WIN32API GetTickCount(void); 262 #endif 263 259 264 int SYSTEM WriteLog(char *tekst, ...) 260 265 { … … 294 299 if(teb) { 295 300 teb->o.odin.logfile = (DWORD)flog; 301 #ifdef LOG_TIME 296 302 if(sel == 0x150b && !fIsOS2Image) { 297 fprintf(flog, "t%d: (FS=150B) ", teb->o.odin.threadId); 298 } 299 else fprintf(flog, "t%d: ", teb->o.odin.threadId); 303 fprintf(flog, "t%d: (%x) (FS=150B) ", teb->o.odin.threadId, GetTickCount()); 304 } 305 else fprintf(flog, "t%d: (%x) ", teb->o.odin.threadId, GetTickCount()); 306 #else 307 if(sel == 0x150b && !fIsOS2Image) { 308 fprintf(flog, "t%d: (FS=150B) ", teb->o.odin.threadId); 309 } 310 else fprintf(flog, "t%d: ", teb->o.odin.threadId); 311 #endif 300 312 } 301 313 vfprintf(flog, tekst, argptr); -
trunk/src/kernel32/winimagepeldr.cpp
r5303 r5332 1 /* $Id: winimagepeldr.cpp,v 1. 69 2001-03-12 14:16:33 sandervl Exp $ */1 /* $Id: winimagepeldr.cpp,v 1.70 2001-03-19 19:27:13 sandervl Exp $ */ 2 2 3 3 /* … … 1696 1696 WinImage = (Win32ImageBase *)WinDll; 1697 1697 } 1698 else { 1699 dprintf((LOG, "Unable to load dll %s", pszCurModule )); 1700 return FALSE; 1701 } 1698 1702 1699 1703 pulImport = (PULONG)((ULONG)pulImport + (ULONG)win32file); -
trunk/src/kernel32/wprocess.cpp
r5308 r5332 1 /* $Id: wprocess.cpp,v 1.11 4 2001-03-13 18:45:35sandervl Exp $ */1 /* $Id: wprocess.cpp,v 1.115 2001-03-19 19:27:14 sandervl Exp $ */ 2 2 3 3 /* … … 128 128 // Set up the TIB selector and memory for the current thread 129 129 //****************************************************************************** 130 TEB * InitializeTIB(BOOL fMainThread)130 TEB * WIN32API InitializeTIB(BOOL fMainThread) 131 131 { 132 132 TEB *winteb; … … 261 261 } 262 262 //****************************************************************************** 263 //****************************************************************************** 264 ULONG WIN32API GetProcessTIBSel() 265 { 266 if(fExitProcess) { 267 return 0; 268 } 269 return ProcessTIBSel; 270 } 271 //****************************************************************************** 263 272 // Destroy the TIB selector and memory for the current thread 264 273 //****************************************************************************** 265 void DestroyTIB()274 void WIN32API DestroyTIB() 266 275 { 267 276 SHORT orgtibsel;
Note:
See TracChangeset
for help on using the changeset viewer.