Hans Leidekker : dnsapi: No longer prefer native.

Alexandre Julliard julliard at winehq.org
Fri Mar 1 16:42:11 CST 2019


Module: wine
Branch: master
Commit: dde0313d9f0ef05c42c87964cde2edd1f7e763c3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=dde0313d9f0ef05c42c87964cde2edd1f7e763c3

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Mar  1 17:37:35 2019 +0100

dnsapi: No longer prefer native.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dnsapi/main.c | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/dlls/dnsapi/main.c b/dlls/dnsapi/main.c
index 93528a2..6cb3b49 100644
--- a/dlls/dnsapi/main.c
+++ b/dlls/dnsapi/main.c
@@ -30,21 +30,6 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(dnsapi);
 
-BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
-{
-    TRACE( "(%p, %d, %p)\n", hinst, reason, reserved );
-
-    switch (reason)
-    {
-    case DLL_WINE_PREATTACH:
-        return FALSE;  /* prefer native version */
-    case DLL_PROCESS_ATTACH:
-        DisableThreadLibraryCalls( hinst );
-        break;
-    }
-    return TRUE;
-}
-
 /******************************************************************************
  * DnsAcquireContextHandle_A              [DNSAPI.@]
  *




More information about the wine-cvs mailing list