Ignore:
Timestamp:
Aug 11, 2000, 12:56:27 PM (25 years ago)
Author:
sandervl
Message:

Updates for fake system dll headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/winmm/initterm.cpp

    r2812 r3993  
    1 /* $Id: initterm.cpp,v 1.9 2000-02-17 14:09:30 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.10 2000-08-11 10:56:27 sandervl Exp $ */
    22
    33/*
     
    5050 extern DWORD _Resource_PEResTab;
    5151}
     52static HMODULE dllHandle = 0;
     53
    5254//******************************************************************************
    5355//******************************************************************************
     
    99101         CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
    100102
    101          if(RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab) == FALSE)
     103         dllHandle = RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab);
     104         if(dllHandle == 0)
    102105                return 0UL;
    103106
     
    105108      case 1 :
    106109         auxOS2Close(); /* SvL: Close aux device if necessary */
    107          UnregisterLxDll(hModule);
     110         if(dllHandle) {
     111                UnregisterLxDll(dllHandle);
     112         }
    108113         break;
    109114      default  :
Note: See TracChangeset for help on using the changeset viewer.