From 448d4dfaaaa6c055a91eb97b3e39e35ce2cba30f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 17 Sep 2014 14:19:23 +0200 Subject: no need for dllmain --- freetrackclient/freetrackclient.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'freetrackclient') diff --git a/freetrackclient/freetrackclient.c b/freetrackclient/freetrackclient.c index 4d71ce30..84346c3c 100644 --- a/freetrackclient/freetrackclient.c +++ b/freetrackclient/freetrackclient.c @@ -45,19 +45,6 @@ static HANDLE hFTMutex = 0; static const char* dllVersion = "1.0.0.0"; static const char* dllProvider = "FreeTrack"; -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) -{ - switch (fdwReason) { - case DLL_PROCESS_ATTACH: - DisableThreadLibraryCalls(hinstDLL); - break; - - case DLL_PROCESS_DETACH: - break; - } - return TRUE; -} - static bool FTCreateMapping(void) { if ( pMemData != NULL ) { -- cgit v1.2.3