Changeset 3993 for trunk/src/opengl/glide/cvg/initterm.cpp
- Timestamp:
- Aug 11, 2000, 12:56:27 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glide/cvg/initterm.cpp
r2888 r3993 1 /* $Id: initterm.cpp,v 1. 1 2000-02-25 00:37:33sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.2 2000-08-11 10:56:22 sandervl Exp $ */ 2 2 3 3 /* … … 42 42 extern DWORD _Resource_PEResTab; 43 43 } 44 static HMODULE dllHandle = 0; 44 45 45 46 BOOL WINAPI DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved); … … 89 90 CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed 98-03-18 05:28:48*/ 90 91 91 /*******************************************************************/ 92 /* A DosExitList routine must be used to clean up if runtime calls */ 93 /* are required and the runtime is dynamically linked. */ 94 /*******************************************************************/ 95 96 if(RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab) == FALSE) 97 return 0UL; 92 dllHandle = RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab); 93 if(dllHandle == 0) 94 return 0UL; 98 95 99 96 break; 100 101 97 case 1 : 102 UnregisterLxDll(hModule); 98 if(dllHandle) { 99 UnregisterLxDll(dllHandle); 100 } 103 101 break; 104 102
Note:
See TracChangeset
for help on using the changeset viewer.