Changeset 2996 for trunk/src/opengl/glu/initterm.cpp
- Timestamp:
- Mar 4, 2000, 8:10:18 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glu/initterm.cpp
r2754 r2996 1 /* $Id: initterm.cpp,v 1. 6 2000-02-11 12:36:39 birdExp $ */1 /* $Id: initterm.cpp,v 1.7 2000-03-04 19:10:12 jeroen Exp $ */ 2 2 3 3 /* … … 31 31 #include <stdio.h> 32 32 #include <string.h> 33 #include < odin.h>33 #include <misc.h> 34 34 #include <win32type.h> 35 35 #include <winconst.h> 36 36 #include <odinlx.h> 37 #include <misc.h> /* PLF Wed 98-03-18 23:18:15 */38 37 39 38 extern "C" { … … 52 51 { 53 52 case DLL_PROCESS_ATTACH: 54 53 return TRUE; 55 54 56 55 case DLL_THREAD_ATTACH: 57 56 case DLL_THREAD_DETACH: 58 57 return TRUE; 59 58 60 59 case DLL_PROCESS_DETACH: 61 62 60 _ctordtorTerm(); 61 return TRUE; 63 62 } 64 63 return FALSE; … … 74 73 /* calling this function. */ 75 74 /****************************************************************************/ 76 unsigned long SYSTEM_DLL_InitTerm(unsigned long hModule, unsigned long75 unsigned long _System _DLL_InitTerm(unsigned long hModule, unsigned long 77 76 ulFlag) 78 77 { 79 size_t i;80 APIRET rc;81 82 78 /*-------------------------------------------------------------------------*/ 83 79 /* If ulFlag is zero then the DLL is being loaded so initialization should */ … … 90 86 _ctordtorInit(); 91 87 92 CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed 98-03-18 05:28:48*/93 94 88 /*******************************************************************/ 95 89 /* A DosExitList routine must be used to clean up if runtime calls */ … … 99 93 if(RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab) == FALSE) 100 94 return 0UL; 95 96 CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed 98-03-18 05:28:48*/ 101 97 102 98 break;
Note:
See TracChangeset
for help on using the changeset viewer.