Alexandre Julliard : bcrypt: Remove unnecessary DllMain implementation.

Alexandre Julliard julliard at winehq.org
Fri May 16 12:13:57 CDT 2014


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri May 16 11:33:29 2014 +0200

bcrypt: Remove unnecessary DllMain implementation.

---

 dlls/bcrypt/bcrypt_main.c |   14 --------------
 1 file changed, 14 deletions(-)

diff --git a/dlls/bcrypt/bcrypt_main.c b/dlls/bcrypt/bcrypt_main.c
index fcad58c..ee203a6 100644
--- a/dlls/bcrypt/bcrypt_main.c
+++ b/dlls/bcrypt/bcrypt_main.c
@@ -31,20 +31,6 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(bcrypt);
 
-BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
-{
-    TRACE("fdwReason %u\n", fdwReason);
-
-    switch(fdwReason)
-    {
-        case DLL_PROCESS_ATTACH:
-            DisableThreadLibraryCalls(hInstDLL);
-            break;
-    }
-
-    return TRUE;
-}
-
 NTSTATUS WINAPI BCryptEnumAlgorithms(ULONG dwAlgOperations, ULONG *pAlgCount,
                                      BCRYPT_ALGORITHM_IDENTIFIER **ppAlgList, ULONG dwFlags)
 {




More information about the wine-cvs mailing list