Changeset 5130 for trunk/src/wininet/initterm.cpp
- Timestamp:
- Feb 14, 2001, 12:41:04 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wininet/initterm.cpp
r3994 r5130 1 /* $Id: initterm.cpp,v 1.3 2000-08-11 10:57:58 sandervl Exp $ */2 3 1 /* 4 2 * DLL entry point … … 36 34 #include <odinlx.h> 37 35 #include <misc.h> /* PLF Wed 98-03-18 23:18:15 */ 36 #include <initdll.h> 38 37 39 38 40 39 extern "C" { 41 void CDECL _ctordtorInit( void );42 void CDECL _ctordtorTerm( void );43 44 40 //Win32 resource table (produced by wrc) 45 41 extern DWORD _Resource_PEResTab; … … 53 49 BOOL WINAPI LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) 54 50 { 51 BOOL ret; 52 55 53 switch (fdwReason) 56 54 { … … 61 59 62 60 case DLL_PROCESS_DETACH: 63 WININET_LibMain(hinstDLL, fdwReason, fImpLoad);64 _ ctordtorTerm();65 return TRUE;61 ret = WININET_LibMain(hinstDLL, fdwReason, fImpLoad); 62 __ctordtorTerm(); 63 return ret; 66 64 } 67 65 return FALSE; … … 91 89 switch (ulFlag) { 92 90 case 0 : 93 _ ctordtorInit();91 __ctordtorInit(); 94 92 95 93 CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed 98-03-18 05:28:48*/
Note:
See TracChangeset
for help on using the changeset viewer.