- Timestamp:
- Sep 16, 1999, 1:26:11 AM (26 years ago)
- Location:
- trunk/src
- Files:
-
- 37 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/NTDLL/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-18 08:58:21sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:05 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/advapi32/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-18 08:58:21sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:05 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/advapi32/makefile
r846 r951 1 # $Id: makefile,v 1.1 1 1999-09-06 01:51:47 birdExp $1 # $Id: makefile,v 1.12 1999-09-15 23:26:05 sandervl Exp $ 2 2 3 3 # … … 16 16 17 17 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE) 18 CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE) /Ls /Le18 CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE) 19 19 20 20 -
trunk/src/avifil32/initterm.cpp
r936 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-09-15 10:24:40 phallerExp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:05 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/avifil32/makefile
r937 r951 1 # $Id: makefile,v 1. 2 1999-09-15 10:38:50 phallerExp $1 # $Id: makefile,v 1.3 1999-09-15 23:26:05 sandervl Exp $ 2 2 3 3 # … … 43 43 44 44 clean: 45 $(RM) *.obj *.lib *.dll * ~ *.map *.pch45 $(RM) *.obj *.lib *.dll *.map *.pch 46 46 $(RM) $(PDWIN32_BIN)\$(TARGET).dll 47 47 $(RM) $(PDWIN32_LIB)\$(TARGET).lib -
trunk/src/capi2032/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-18 08:58:21sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:05 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/comctl32/initterm.cpp
r511 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-16 16:55:32sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:06 sandervl Exp $ */ 2 2 /* 3 3 * COMCTL32 DLL entry point … … 32 32 #include <string.h> 33 33 #include <misc.h> /*PLF Wed 98-03-18 23:18:29*/ 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 35 37 extern "C" { … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 90 95 break; 91 96 case 1 : 97 UnregisterLxDll(hModule); 92 98 break; 93 99 default : -
trunk/src/comdlg32/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-18 08:58:21sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:06 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/crtdll/initterm.cpp
r864 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-09-07 20:41:45sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:06 sandervl Exp $ */ 2 2 3 3 /* … … 33 33 #include <odin.h> 34 34 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 #include <winconst.h> 35 #include <win32type.h> 36 #include <odinlx.h> 36 37 37 38 extern "C" { … … 40 41 } 41 42 42 BOOL WIN API CRTDLL_Init(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved);43 BOOL WIN32API CRTDLL_Init(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved); 43 44 44 45 /*-------------------------------------------------------------------*/ … … 86 87 return 0UL; 87 88 88 CRTDLL_Init(hModule, DLL_PROCESS_ATTACH, 0); 89 if(RegisterLxDll(hModule, CRTDLL_Init, 0) == FALSE) 90 return 0UL; 89 91 90 92 break; 91 93 case 1 : 92 CRTDLL_Init(hModule, DLL_PROCESS_DETACH, 0);94 UnregisterLxDll(hModule); 93 95 break; 94 96 -
trunk/src/ddraw/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 8 1999-08-18 08:58:21sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.9 1999-09-15 23:26:06 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/dplay/initterm.cpp
r939 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-09-15 15:38:48 phallerExp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:06 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/dsound/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 5 1999-08-18 08:58:21sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.6 1999-09-15 23:26:06 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/gdi32/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-18 08:58:21sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:06 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/imagehlp/initterm.cpp
r736 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-08-29 14:54:54sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:07 sandervl Exp $ */ 2 2 3 3 /* … … 33 33 #include <odin.h> 34 34 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 #include <winconst.h> 35 #include <win32type.h> 36 #include <odinlx.h> 36 37 37 38 extern "C" { … … 82 83 /*******************************************************************/ 83 84 85 if(RegisterLxDll(hModule, IMAGEHLP_LibMain, 0) == FALSE) 86 return 0UL; 87 84 88 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 85 89 if(rc) 86 90 return 0UL; 87 91 88 IMAGEHLP_LibMain(hModule, DLL_PROCESS_ATTACH, 0);89 90 92 break; 91 93 case 1 : 92 IMAGEHLP_LibMain(hModule, DLL_PROCESS_DETACH, 0);94 UnregisterLxDll(hModule); 93 95 break; 94 96 -
trunk/src/imm32/initterm.cpp
r736 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-08-29 14:55:23sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:07 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/kernel32/initterm.cpp
r646 r951 1 /* $Id: initterm.cpp,v 1.1 3 1999-08-23 13:54:42sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.14 1999-09-15 23:26:07 sandervl Exp $ */ 2 2 3 3 /* … … 37 37 #include "profile.h" 38 38 #include "initterm.h" 39 #include <win32type.h> 40 #include <odinlx.h> 39 41 40 42 /*-------------------------------------------------------------------*/ … … 92 94 93 95 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 96 97 if(RegisterLxDll(hModule, 0, 0) == FALSE) 98 return 0UL; 99 94 100 /*******************************************************************/ 95 101 /* A DosExitList routine must be used to clean up if runtime calls */ … … 114 120 break; 115 121 case 1 : 122 UnregisterLxDll(hModule); 116 123 break; 117 124 default : -
trunk/src/lz32/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 5 1999-08-18 08:58:22sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.6 1999-09-15 23:26:07 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 37 38 extern "C" { 39 void CDECL _ctordtorInit( void ); 40 void CDECL _ctordtorTerm( void ); 41 } 35 42 36 43 /*-------------------------------------------------------------------*/ … … 51 58 /* calling this function. */ 52 59 /****************************************************************************/ 53 unsigned long SYSTEM _DLL_InitTerm(unsigned long hModule, 54 u nsigned long ulFlag)60 unsigned long SYSTEM _DLL_InitTerm(unsigned long hModule, unsigned long 61 ulFlag) 55 62 { 63 size_t i; 56 64 APIRET rc; 57 65 … … 64 72 switch (ulFlag) { 65 73 case 0 : 74 _ctordtorInit(); 66 75 67 76 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ … … 72 81 /*******************************************************************/ 73 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 74 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 75 87 if(rc) … … 78 90 break; 79 91 case 1 : 92 UnregisterLxDll(hModule); 80 93 break; 81 94 default : … … 92 105 static void APIENTRY cleanup(ULONG ulReason) 93 106 { 107 _ctordtorTerm(); 94 108 DosExitList(EXLST_EXIT, cleanup); 95 109 return ; -
trunk/src/mpr/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-18 08:58:22sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:07 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/msacm32/initterm.cpp
r779 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-09-01 18:50:32sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:07 sandervl Exp $ */ 2 2 3 3 /* … … 33 33 #include <odin.h> 34 34 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 #include <winconst.h> 35 #include <win32type.h> 36 #include <odinlx.h> 36 37 37 38 extern "C" { … … 77 78 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 78 79 80 if(RegisterLxDll(hModule, MSACM32_LibMain, 0) == FALSE) 81 return 0UL; 82 79 83 /*******************************************************************/ 80 84 /* A DosExitList routine must be used to clean up if runtime calls */ … … 86 90 return 0UL; 87 91 88 MSACM32_LibMain(hModule, DLL_PROCESS_ATTACH, 0);89 90 92 break; 91 93 case 1 : 92 MSACM32_LibMain(hModule, DLL_PROCESS_DETACH, 0);94 UnregisterLxDll(hModule); 93 95 break; 94 96 -
trunk/src/msvfw32/initterm.cpp
r814 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-09-04 09:08:44sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:07 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/ole32/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-18 08:58:22sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:08 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/oleaut32/initterm.cpp
r631 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-08-22 22:07:36sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:08 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/olecli32/initterm.cpp
r734 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-08-29 08:15:02sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:08 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/oledlg/initterm.cpp
r749 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-08-30 22:16:48 sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:08 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/olesvr32/initterm.cpp
r703 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-08-25 22:38:49sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:08 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/peldr/initterm.cpp
r544 r951 1 /* $Id: initterm.cpp,v 1. 2 1999-08-18 12:24:32sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.3 1999-09-15 23:26:08 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <odin.h> 33 33 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 34 #include <winimage .h>34 #include <winimagepeldr.h> 35 35 36 36 /*-------------------------------------------------------------------*/ -
trunk/src/psapi/initterm.cpp
r814 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-09-04 09:09:03sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:08 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/rasapi32/initterm.cpp
r772 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-09-01 07:28:46sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:09 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/shell32/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-18 08:58:22sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:09 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/shell32/new/initterm.cpp
r791 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-09-02 11:59:12 phallerExp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:10 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/tapi32/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-18 08:58:22sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:10 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/version/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-18 08:58:22sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:10 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/winmm/initterm.cpp
r511 r951 1 /* $Id: initterm.cpp,v 1. 5 1999-08-16 16:55:33sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.6 1999-09-15 23:26:10 sandervl Exp $ */ 2 2 3 3 /* … … 34 34 #include <misc.h> /*PLF Wed 98-03-18 23:19:26*/ 35 35 #include <odin.h> 36 #include <win32type.h> 37 #include <odinlx.h> 36 38 #include "aux.h" 37 39 … … 79 81 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 /*******************************************************************/ 82 87 /* A DosExitList routine must be used to clean up if runtime calls */ … … 91 96 case 1 : 92 97 auxOS2Close(); /* SvL: Close aux device if necessary */ 98 UnregisterLxDll(hModule); 93 99 break; 94 100 default : -
trunk/src/winspool/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-18 08:58:22sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:10 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/wnaspi32/initterm.cpp
r938 r951 1 /* $Id: initterm.cpp,v 1. 1 1999-09-15 11:25:04 phallerExp $ */1 /* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:10 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/wnetap32/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-18 08:58:22sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:10 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default : -
trunk/src/wsock32/initterm.cpp
r542 r951 1 /* $Id: initterm.cpp,v 1. 6 1999-08-18 08:58:22sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:11 sandervl Exp $ */ 2 2 3 3 /* … … 32 32 #include <string.h> 33 33 #include <odin.h> 34 #include <win32type.h> 35 #include <odinlx.h> 34 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 35 37 … … 79 81 /*******************************************************************/ 80 82 83 if(RegisterLxDll(hModule, 0, 0) == FALSE) 84 return 0UL; 85 81 86 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 82 87 if(rc) … … 85 90 break; 86 91 case 1 : 92 UnregisterLxDll(hModule); 87 93 break; 88 94 default :
Note:
See TracChangeset
for help on using the changeset viewer.