Changeset 3059 for trunk/src/kernel32/initterm.cpp
- Timestamp:
- Mar 9, 2000, 8:03:23 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/initterm.cpp
r2984 r3059 1 /* $Id: initterm.cpp,v 1.3 6 2000-03-03 11:15:58 sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.37 2000-03-09 19:03:18 sandervl Exp $ */ 2 2 3 3 /* … … 47 47 #include "hmdevio.h" 48 48 #include <windllbase.h> 49 #include "winexepe2lx.h" 49 50 #include "initsystem.h" 50 51 #include <exitlist.h> … … 128 129 return 0UL; 129 130 131 //SvL: Kernel32 is a special case; pe.exe loads it, so increase 132 // the reference count here 133 Win32DllBase *module = Win32DllBase::findModule(hModule); 134 if(module && !fPe2Lx) { 135 module->AddRef(); 136 module->DisableUnload(); 137 } 138 130 139 /*******************************************************************/ 131 140 /* A DosExitList routine must be used to clean up if runtime calls */
Note:
See TracChangeset
for help on using the changeset viewer.