1 //----------------------------------------------------------------------------- 2 // 3 // ImageLib Sources 4 // Copyright (C) 2000-2002 by Denton Woods 5 // Last modified: 02/16/2002 <--Y2K Compliant! =] 6 // 7 // Filename: src-IL/src/il_main.c 8 // 9 // Description: Startup function 10 // 11 //----------------------------------------------------------------------------- 12 13 14 #include "il_internal.h" 15 16 /* Only needed for MSVC++ unless extended to actually do something =) */ 17 #if defined(_WIN32) && defined(_MSC_VER) DllMain(HANDLE hModule,DWORD ul_reason_for_call,LPVOID lpReserved)18BOOL APIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) 19 { 20 hModule; ul_reason_for_call; lpReserved; 21 22 if (ul_reason_for_call == DLL_PROCESS_ATTACH) { 23 //ilInit(); 24 } 25 26 return TRUE; 27 } 28 #endif 29 30 31