summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-17 14:19:23 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-17 14:19:23 +0200
commit448d4dfaaaa6c055a91eb97b3e39e35ce2cba30f (patch)
treea1cba5e8f22d06e21e3a12f332d41893b69d1378
parentd4dc0006fba2ce43fb09c47f1124df9c82836ddd (diff)
no need for dllmain
-rw-r--r--freetrackclient/freetrackclient.c13
1 files changed, 0 insertions, 13 deletions
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 ) {