[AMSTREAM] We don't need to define WIDL_C_INLINE_WRAPPERS here anymore.
[reactos.git] / dll / directx / wine / d3dx9_36 / d3dx9_36_main.c
index e9c7004..01c5219 100644 (file)
  *
  */
 
-#include "config.h"
-#include "wine/port.h"
-#include "initguid.h"
-
-#include <stdarg.h>
-
-#include "windef.h"
-#include "winbase.h"
-#include "wingdi.h"
-#include "winuser.h"
-
-#include "d3dx9.h"
+#include "d3dx9_36_private.h"
 
 /***********************************************************************
  * DllMain.
  */
-BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
+BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
 {
     switch(reason)
     {
@@ -45,8 +34,6 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
     case DLL_PROCESS_ATTACH:
         DisableThreadLibraryCalls(inst);
         break;
-    case DLL_PROCESS_DETACH:
-        break;
     }
     return TRUE;
 }
@@ -62,21 +49,3 @@ BOOL WINAPI D3DXCheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
     else
         return FALSE;
 }
-
-/***********************************************************************
- * D3DXDebugMute
- * Returns always FALSE for us.
- */
-BOOL WINAPI D3DXDebugMute(BOOL mute)
-{
-    return FALSE;
-}
-
-/***********************************************************************
- * D3DXGetDriverLevel.
- * Returns always 900 (DX 9) for us
- */
-UINT WINAPI D3DXGetDriverLevel(LPDIRECT3DDEVICE9 device)
-{
-    return 900;
-}