Alexandre Julliard : advpack: Remove unnecessary DllMain implementation.

Alexandre Julliard julliard at winehq.org
Thu May 15 15:14:30 CDT 2014


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu May 15 14:37:03 2014 +0200

advpack: Remove unnecessary DllMain implementation.

---

 dlls/advpack/advpack.c |   13 -------------
 1 file changed, 13 deletions(-)

diff --git a/dlls/advpack/advpack.c b/dlls/advpack/advpack.c
index 296abb5..83dda08 100644
--- a/dlls/advpack/advpack.c
+++ b/dlls/advpack/advpack.c
@@ -208,19 +208,6 @@ HRESULT WINAPI CloseINFEngine(HINF hInf)
 }
 
 /***********************************************************************
- *           DllMain (ADVPACK.@)
- */
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
-{
-    TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
-
-    if (fdwReason == DLL_PROCESS_ATTACH)
-        DisableThreadLibraryCalls(hinstDLL);
-
-    return TRUE;
-}
-
-/***********************************************************************
  *              IsNTAdmin	(ADVPACK.@)
  *
  * Checks if the user has admin privileges.




More information about the wine-cvs mailing list