Changeset 3993 for trunk/src/winmm/initterm.cpp
- Timestamp:
- Aug 11, 2000, 12:56:27 PM (25 years ago)
- 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:30sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.10 2000-08-11 10:56:27 sandervl Exp $ */ 2 2 3 3 /* … … 50 50 extern DWORD _Resource_PEResTab; 51 51 } 52 static HMODULE dllHandle = 0; 53 52 54 //****************************************************************************** 53 55 //****************************************************************************** … … 99 101 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 100 102 101 if(RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab) == FALSE) 103 dllHandle = RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab); 104 if(dllHandle == 0) 102 105 return 0UL; 103 106 … … 105 108 case 1 : 106 109 auxOS2Close(); /* SvL: Close aux device if necessary */ 107 UnregisterLxDll(hModule); 110 if(dllHandle) { 111 UnregisterLxDll(dllHandle); 112 } 108 113 break; 109 114 default :
Note:
See TracChangeset
for help on using the changeset viewer.