Changeset 951 for trunk/src


Ignore:
Timestamp:
Sep 16, 1999, 1:26:11 AM (26 years ago)
Author:
sandervl
Message:

Initterm creates LX image object during initialization

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:21 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:05 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/advapi32/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.6 1999-08-18 08:58:21 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:05 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/advapi32/makefile

    r846 r951  
    1 # $Id: makefile,v 1.11 1999-09-06 01:51:47 bird Exp $
     1# $Id: makefile,v 1.12 1999-09-15 23:26:05 sandervl Exp $
    22
    33#
     
    1616
    1717CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE)
    18 CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE) /Ls /Le
     18CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)
    1919
    2020
  • trunk/src/avifil32/initterm.cpp

    r936 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-09-15 10:24:40 phaller Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:05 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/avifil32/makefile

    r937 r951  
    1 # $Id: makefile,v 1.2 1999-09-15 10:38:50 phaller Exp $
     1# $Id: makefile,v 1.3 1999-09-15 23:26:05 sandervl Exp $
    22
    33#
     
    4343
    4444clean:
    45         $(RM) *.obj *.lib *.dll *~ *.map *.pch
     45        $(RM) *.obj *.lib *.dll *.map *.pch
    4646        $(RM) $(PDWIN32_BIN)\$(TARGET).dll
    4747        $(RM) $(PDWIN32_LIB)\$(TARGET).lib
  • trunk/src/capi2032/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.6 1999-08-18 08:58:21 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:05 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/comctl32/initterm.cpp

    r511 r951  
    1 /* $Id: initterm.cpp,v 1.6 1999-08-16 16:55:32 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:06 sandervl Exp $ */
    22/*
    33 * COMCTL32 DLL entry point
     
    3232#include <string.h>
    3333#include <misc.h>       /*PLF Wed  98-03-18 23:18:29*/
     34#include <win32type.h>
     35#include <odinlx.h>
    3436
    3537extern "C" {
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    9095         break;
    9196      case 1 :
     97         UnregisterLxDll(hModule);
    9298         break;
    9399      default  :
  • trunk/src/comdlg32/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.6 1999-08-18 08:58:21 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:06 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/crtdll/initterm.cpp

    r864 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-09-07 20:41:45 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:06 sandervl Exp $ */
    22
    33/*
     
    3333#include <odin.h>
    3434#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    35 #include <winconst.h>
     35#include <win32type.h>
     36#include <odinlx.h>
    3637
    3738extern "C" {
     
    4041}
    4142
    42 BOOL WINAPI CRTDLL_Init(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved);
     43BOOL WIN32API CRTDLL_Init(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved);
    4344
    4445/*-------------------------------------------------------------------*/
     
    8687                return 0UL;
    8788
    88          CRTDLL_Init(hModule, DLL_PROCESS_ATTACH, 0);
     89         if(RegisterLxDll(hModule, CRTDLL_Init, 0) == FALSE)
     90                return 0UL;
    8991
    9092         break;
    9193      case 1 :
    92          CRTDLL_Init(hModule, DLL_PROCESS_DETACH, 0);
     94         UnregisterLxDll(hModule);
    9395         break;
    9496
  • trunk/src/ddraw/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.8 1999-08-18 08:58:21 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.9 1999-09-15 23:26:06 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/dplay/initterm.cpp

    r939 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-09-15 15:38:48 phaller Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:06 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/dsound/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.5 1999-08-18 08:58:21 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.6 1999-09-15 23:26:06 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/gdi32/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.6 1999-08-18 08:58:21 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:06 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/imagehlp/initterm.cpp

    r736 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-08-29 14:54:54 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:07 sandervl Exp $ */
    22
    33/*
     
    3333#include <odin.h>
    3434#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    35 #include <winconst.h>
     35#include <win32type.h>
     36#include <odinlx.h>
    3637
    3738extern "C" {
     
    8283         /*******************************************************************/
    8384
     85         if(RegisterLxDll(hModule, IMAGEHLP_LibMain, 0) == FALSE)
     86                return 0UL;
     87
    8488         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8589         if(rc)
    8690                return 0UL;
    8791
    88          IMAGEHLP_LibMain(hModule, DLL_PROCESS_ATTACH, 0);
    89 
    9092         break;
    9193      case 1 :
    92          IMAGEHLP_LibMain(hModule, DLL_PROCESS_DETACH, 0);
     94         UnregisterLxDll(hModule);
    9395         break;
    9496
  • trunk/src/imm32/initterm.cpp

    r736 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-08-29 14:55:23 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:07 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/kernel32/initterm.cpp

    r646 r951  
    1 /* $Id: initterm.cpp,v 1.13 1999-08-23 13:54:42 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.14 1999-09-15 23:26:07 sandervl Exp $ */
    22
    33/*
     
    3737#include "profile.h"
    3838#include "initterm.h"
     39#include <win32type.h>
     40#include <odinlx.h>
    3941
    4042/*-------------------------------------------------------------------*/
     
    9294
    9395            CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
     96
     97            if(RegisterLxDll(hModule, 0, 0) == FALSE)
     98                return 0UL;
     99
    94100            /*******************************************************************/
    95101            /* A DosExitList routine must be used to clean up if runtime calls */
     
    114120            break;
    115121        case 1 :
     122            UnregisterLxDll(hModule);
    116123            break;
    117124        default  :
  • trunk/src/lz32/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.5 1999-08-18 08:58:22 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.6 1999-09-15 23:26:07 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
     37
     38extern "C" {
     39void CDECL _ctordtorInit( void );
     40void CDECL _ctordtorTerm( void );
     41}
    3542
    3643/*-------------------------------------------------------------------*/
     
    5158/* calling this function.                                                   */
    5259/****************************************************************************/
    53 unsigned long SYSTEM _DLL_InitTerm(unsigned long hModule,
    54                                    unsigned long ulFlag)
     60unsigned long SYSTEM _DLL_InitTerm(unsigned long hModule, unsigned long
     61                                   ulFlag)
    5562{
     63   size_t i;
    5664   APIRET rc;
    5765
     
    6472   switch (ulFlag) {
    6573      case 0 :
     74         _ctordtorInit();
    6675
    6776         CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
     
    7281         /*******************************************************************/
    7382
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    7486         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    7587         if(rc)
     
    7890         break;
    7991      case 1 :
     92         UnregisterLxDll(hModule);
    8093         break;
    8194      default  :
     
    92105static void APIENTRY cleanup(ULONG ulReason)
    93106{
     107   _ctordtorTerm();
    94108   DosExitList(EXLST_EXIT, cleanup);
    95109   return ;
  • trunk/src/mpr/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.6 1999-08-18 08:58:22 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:07 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/msacm32/initterm.cpp

    r779 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-09-01 18:50:32 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:07 sandervl Exp $ */
    22
    33/*
     
    3333#include <odin.h>
    3434#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    35 #include <winconst.h>
     35#include <win32type.h>
     36#include <odinlx.h>
    3637
    3738extern "C" {
     
    7778         CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
    7879
     80         if(RegisterLxDll(hModule, MSACM32_LibMain, 0) == FALSE)
     81                return 0UL;
     82
    7983         /*******************************************************************/
    8084         /* A DosExitList routine must be used to clean up if runtime calls */
     
    8690                return 0UL;
    8791
    88          MSACM32_LibMain(hModule, DLL_PROCESS_ATTACH, 0);
    89 
    9092         break;
    9193      case 1 :
    92          MSACM32_LibMain(hModule, DLL_PROCESS_DETACH, 0);
     94         UnregisterLxDll(hModule);
    9395         break;
    9496
  • trunk/src/msvfw32/initterm.cpp

    r814 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-09-04 09:08:44 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:07 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/ole32/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.6 1999-08-18 08:58:22 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:08 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/oleaut32/initterm.cpp

    r631 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-08-22 22:07:36 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:08 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/olecli32/initterm.cpp

    r734 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-08-29 08:15:02 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:08 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      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 $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/olesvr32/initterm.cpp

    r703 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-08-25 22:38:49 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:08 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/peldr/initterm.cpp

    r544 r951  
    1 /* $Id: initterm.cpp,v 1.2 1999-08-18 12:24:32 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.3 1999-09-15 23:26:08 sandervl Exp $ */
    22
    33/*
     
    3232#include <odin.h>
    3333#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    34 #include <winimage.h>
     34#include <winimagepeldr.h>
    3535
    3636/*-------------------------------------------------------------------*/
  • trunk/src/psapi/initterm.cpp

    r814 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-09-04 09:09:03 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:08 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/rasapi32/initterm.cpp

    r772 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-09-01 07:28:46 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:09 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/shell32/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.6 1999-08-18 08:58:22 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:09 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/shell32/new/initterm.cpp

    r791 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-09-02 11:59:12 phaller Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:10 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/tapi32/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.6 1999-08-18 08:58:22 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:10 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/version/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.6 1999-08-18 08:58:22 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:10 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/winmm/initterm.cpp

    r511 r951  
    1 /* $Id: initterm.cpp,v 1.5 1999-08-16 16:55:33 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.6 1999-09-15 23:26:10 sandervl Exp $ */
    22
    33/*
     
    3434#include <misc.h>       /*PLF Wed  98-03-18 23:19:26*/
    3535#include <odin.h>
     36#include <win32type.h>
     37#include <odinlx.h>
    3638#include "aux.h"
    3739
     
    7981         CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         /*******************************************************************/
    8287         /* A DosExitList routine must be used to clean up if runtime calls */
     
    9196      case 1 :
    9297         auxOS2Close(); /* SvL: Close aux device if necessary */
     98         UnregisterLxDll(hModule);
    9399         break;
    94100      default  :
  • trunk/src/winspool/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.6 1999-08-18 08:58:22 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:10 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/wnaspi32/initterm.cpp

    r938 r951  
    1 /* $Id: initterm.cpp,v 1.1 1999-09-15 11:25:04 phaller Exp $ */
     1/* $Id: initterm.cpp,v 1.2 1999-09-15 23:26:10 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/wnetap32/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.6 1999-08-18 08:58:22 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:10 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
  • trunk/src/wsock32/initterm.cpp

    r542 r951  
    1 /* $Id: initterm.cpp,v 1.6 1999-08-18 08:58:22 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:11 sandervl Exp $ */
    22
    33/*
     
    3232#include <string.h>
    3333#include <odin.h>
     34#include <win32type.h>
     35#include <odinlx.h>
    3436#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
    3537
     
    7981         /*******************************************************************/
    8082
     83         if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84                return 0UL;
     85
    8186         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    8287         if(rc)
     
    8590         break;
    8691      case 1 :
     92         UnregisterLxDll(hModule);
    8793         break;
    8894      default  :
Note: See TracChangeset for help on using the changeset viewer.