Alexandre Julliard : wtsapi32: Remove an unnecessary DllMain entry point.

Alexandre Julliard julliard at winehq.org
Thu Feb 14 15:01:33 CST 2013


Module: wine
Branch: master
Commit: 102f5085efc5d9ac9e3190c721c08a2eeb917e20
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=102f5085efc5d9ac9e3190c721c08a2eeb917e20

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Feb 14 21:37:37 2013 +0100

wtsapi32: Remove an unnecessary DllMain entry point.

---

 dlls/wtsapi32/wtsapi32.c |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/dlls/wtsapi32/wtsapi32.c b/dlls/wtsapi32/wtsapi32.c
index c25f75b..898b95d 100644
--- a/dlls/wtsapi32/wtsapi32.c
+++ b/dlls/wtsapi32/wtsapi32.c
@@ -26,25 +26,6 @@
 WINE_DEFAULT_DEBUG_CHANNEL(wtsapi);
 
 
-BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
-{
-    TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved);
-
-    switch (fdwReason) {
-        case DLL_PROCESS_ATTACH:
-        {
-            DisableThreadLibraryCalls(hinstDLL);
-            break;
-        }
-        case DLL_PROCESS_DETACH:
-        {
-            break;
-        }
-    }
-
-    return TRUE;
-}
-
 /************************************************************
  *                WTSCloseServer  (WTSAPI32.@)
  */




More information about the wine-cvs mailing list