Changeset 9684 for trunk/src/NTDLL/initterm.cpp
- Timestamp:
- Jan 16, 2003, 4:22:42 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/NTDLL/initterm.cpp
r6712 r9684 39 39 //Win32 resource table (produced by wrc) 40 40 extern DWORD _Resource_PEResTab; 41 void __ctordtorInit (void); 42 void __ctordtorTerm (void); 41 43 } 42 44 static HMODULE dllHandle = 0; … … 46 48 //****************************************************************************** 47 49 //****************************************************************************** 48 BOOL WIN API LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)50 BOOL WIN32API LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) 49 51 { 50 52 switch (fdwReason) … … 57 59 case DLL_PROCESS_DETACH: 58 60 NTDLL_LibMain(hinstDLL, fdwReason, fImpLoad); 59 ctordtorTerm();61 __ctordtorTerm(); 60 62 return TRUE; 61 63 } … … 84 86 switch (ulFlag) { 85 87 case 0 : 86 ctordtorInit();88 __ctordtorInit(); 87 89 88 90 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 89 91 90 dllHandle = RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab);92 dllHandle = RegisterLxDll(hModule, (WIN32DLLENTRY)LibMain, (PVOID)&_Resource_PEResTab); 91 93 if(dllHandle == 0) 92 94 return 0UL;
Note:
See TracChangeset
for help on using the changeset viewer.