Changeset 10397 for trunk/src/kernel32/windllbase.cpp
- Timestamp:
- Jan 15, 2004, 11:39:15 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/windllbase.cpp
r10054 r10397 1 /* $Id: windllbase.cpp,v 1.3 3 2003-04-30 11:04:07sandervl Exp $ */1 /* $Id: windllbase.cpp,v 1.34 2004-01-15 10:39:06 sandervl Exp $ */ 2 2 3 3 /* … … 5 5 * 6 6 * Copyright 1998-2000 Sander van Leeuwen (sandervl@xs4all.nl) 7 * Copyright 2003 Innotek Systemberatung GmbH (sandervl@innotek.de) 7 8 * 8 9 * Unloading of a dll always happens in order of dependency (taking nr of … … 438 439 #ifdef DEBUG 439 440 time2 = GetTickCount(); 440 dprintf(("attachProcess to dll %s DONE in %x msec ", szModule, time2-time1));441 dprintf(("attachProcess to dll %s DONE in %x msec rc %d", szModule, time2-time1, rc)); 441 442 #endif 442 443 … … 883 884 //****************************************************************************** 884 885 //****************************************************************************** 886 int Win32DllBase::enumDlls(HMODULE *lphModule, int countMax) 887 { 888 int count = 0; 889 HMODULE hModule; 890 891 dlllistmutex.enter(); 892 893 Win32DllBase *mod = Win32DllBase::head; 894 while(mod != NULL) { 895 dbgCheckObj(mod); 896 897 hModule = mod->getInstanceHandle(); 898 if ( count < countMax ) 899 lphModule[count] = hModule; 900 count++; 901 902 mod = mod->next; 903 } 904 dlllistmutex.leave(); 905 return count; 906 } 907 //****************************************************************************** 908 //****************************************************************************** 885 909 Win32DllBase *Win32DllBase::head = NULL; 886 910 Queue Win32DllBase::loadLibDlls;
Note:
See TracChangeset
for help on using the changeset viewer.