1/* 2 * dllEntryPoint.c -- 3 * $Id: dllEntryPoint.c,v 1.1 2004/05/23 22:50:39 neumann Exp $ 4 * 5 * This file implements the Dll entry point as needed by Windows. 6 */ 7 8#define WIN32_LEAN_AND_MEAN 9#include <windows.h> 10#if defined(_MSC_VER) 11# define DllEntryPoint DllMain 12#endif 13 14/* 15 *---------------------------------------------------------------------- 16 * 17 * DllEntryPoint -- 18 * 19 * This wrapper function is used by Windows to invoke the 20 * initialization code for the DLL. If we are compiling 21 * with Visual C++, this routine will be renamed to DllMain. 22 * 23 * Results: 24 * Returns TRUE; 25 * 26 * Side effects: 27 * None. 28 * 29 *---------------------------------------------------------------------- 30 */ 31 32BOOL APIENTRY 33DllEntryPoint(hInst, reason, reserved) 34 HINSTANCE hInst; /* Library instance handle. */ 35 DWORD reason; /* Reason this function is being called. */ 36 LPVOID reserved; /* Not used. */ 37{ 38 return TRUE; 39} 40