Changeset 6646 for trunk/src/gdi32/initgdi32.cpp
- Timestamp:
- Sep 5, 2001, 2:58:00 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/initgdi32.cpp
r6467 r6646 1 /* 1 /* $Id: initgdi32.cpp,v 1.5 2001-09-05 12:53:52 bird Exp $ 2 * 2 3 * DLL entry point 3 4 * … … 34 35 #include <odinlx.h> 35 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 36 #define DBG_LOCALLOG 37 #define DBG_LOCALLOG DBG_initterm 37 38 #include "dbglocal.h" 38 39 #include "region.h" … … 51 52 { 52 53 case DLL_PROCESS_ATTACH: 53 54 return TRUE; 54 55 55 56 case DLL_THREAD_ATTACH: 56 57 case DLL_THREAD_DETACH: 57 58 return TRUE; 58 59 59 60 case DLL_PROCESS_DETACH: 60 61 61 ctordtorTerm(); 62 return TRUE; 62 63 } 63 64 return FALSE; … … 88 89 InitializeKernel32(); 89 90 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 90 91 91 if(InitRegionSpace() == FALSE) { 92 return 0UL; 92 93 } 93 94 dllHandle = RegisterLxDll(hModule, OdinLibMain, (PVOID)&gdi32_PEResTab, 94 95 GDI32_MAJORIMAGE_VERSION, GDI32_MINORIMAGE_VERSION, 95 96 IMAGE_SUBSYSTEM_NATIVE); 96 if(dllHandle == 0) 97 97 if(dllHandle == 0) 98 return 0UL; 98 99 99 100 dprintf(("gdi32 init %s %s (%x)", __DATE__, __TIME__, inittermGdi32)); … … 102 103 case 1 : 103 104 if(dllHandle) { 104 105 UnregisterLxDll(dllHandle); 105 106 } 106 107 break;
Note:
See TracChangeset
for help on using the changeset viewer.