[CRYPTDLL] Sync with Wine Staging 4.18. CORE-16441
[reactos.git] / dll / win32 / cryptdll / cryptdll.c
index ed892a6..963a268 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#define WIN32_NO_STATUS
-
-#include <config.h>
 #include <stdarg.h>
-//#include <stdlib.h>
-#include <windef.h>
-#include <winbase.h>
-#include <wine/debug.h>
+#include <stdlib.h>
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(cryptdll);
 
-static HMODULE CRYPTDLL_hModule;
-
 BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 {
     TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved);
@@ -37,15 +32,8 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
         case DLL_WINE_PREATTACH:
             return FALSE;  /* prefer native version */
         case DLL_PROCESS_ATTACH:
-        {
             DisableThreadLibraryCalls(hinstDLL);
-            CRYPTDLL_hModule = hinstDLL;
-            break;
-        }
-        case DLL_PROCESS_DETACH:
-        {
             break;
-        }
     }
 
     return TRUE;