BOOL WINAPI DllEntryPoint( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch(ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
DEBUGMSG(1,(TEXT("Call the DLL_PROCESS_ATTACH\n")));
break;
case DLL_THREAD_ATTACH:
DEBUGMSG(1,(TEXT("Call the DLL_THREAD_ATTACH\n")));
break;
case DLL_THREAD_DETACH:
DEBUGMSG(1,(TEXT("Call the DLL_THREAD_DETACH\n")));
break;
case DLL_PROCESS_DETACH:
DEBUGMSG(1,(TEXT("Call the DLL_PROCESS_DETACH\n")));
break;
}
return TRUE;