Changeset 10005 for trunk/src/msvcrt/main.c
- Timestamp:
- Apr 10, 2003, 12:28:07 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/msvcrt/main.c
r9633 r10005 22 22 #include "msvcrt/locale.h" 23 23 #include "msvcrt/stdio.h" 24 24 #include <string.h> 25 25 #include "wine/debug.h" 26 26 … … 47 47 48 48 49 unsigned long _DLL_InitTerm (unsigned long mod_handle,50 unsigned long flag)51 {52 switch (flag)53 {54 case 0:55 if (_CRT_init () != 0)56 return 0;57 __ctordtorInit ();58 59 dllHandle = RegisterLxDll(mod_handle, MSVCRT_Init, 0,0,0,0);60 61 return 1;62 case 1:63 __ctordtorTerm ();64 _CRT_term ();65 66 if(dllHandle) {67 UnregisterLxDll(dllHandle);68 }69 70 return 1;71 default:72 return 0;73 }74 return 1;75 }76 77 49 /********************************************************************* 78 50 * Init … … 90 62 { 91 63 case DLL_PROCESS_ATTACH: 92 64 if (!msvcrt_init_tls()) 93 65 return FALSE; 94 66 msvcrt_init_mt_locks();
Note:
See TracChangeset
for help on using the changeset viewer.