[SENSAPI] Sync with Wine Staging 4.18. CORE-16441
[reactos.git] / dll / win32 / sensapi / sensapi.c
index 22fbb6e..0588036 100644 (file)
  * connections. For Wine we just report that we are always connected.
  */
 
-#define WIN32_NO_STATUS
-
-#include <config.h>
-
 #include <stdarg.h>
-//#include <stdio.h>
+#include <stdio.h>
 
 #define COBJMACROS
 
-#include <windef.h>
-#include <winbase.h>
-//#include "wingdi.h"
-//#include "winuser.h"
-//#include "ole2.h"
-//#include "sensevts.h"
-#include <sensapi.h>
+#include "windef.h"
+#include "winbase.h"
+#include "wingdi.h"
+#include "winuser.h"
+#include "ole2.h"
+#include "sensevts.h"
+#include "sensapi.h"
 
-//#include "uuids.h"
+#include "uuids.h"
 
-//#include "wine/unicode.h"
-#include <wine/debug.h>
+#include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(sensapi);
 
-static HMODULE SENSAPI_hModule;
-
-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);
-            SENSAPI_hModule = hinstDLL;
-            break;
-        }
-        case DLL_PROCESS_DETACH:
-        {
-            break;
-        }
-    }
-
-    return TRUE;
-}
-
 BOOL WINAPI IsDestinationReachableA(LPCSTR lpszDestination, LPQOCINFO lpQOCInfo)
 {
     FIXME("%s,%p\n", lpszDestination, lpQOCInfo);