From 6d228ac0a49e091d31d366e7e13b0803a21530cc Mon Sep 17 00:00:00 2001 From: Gregor Brunmar Date: Tue, 11 Dec 2007 20:37:55 +0000 Subject: [PATCH] Added debug version of IDirect3D9 interface svn path=/trunk/; revision=31167 --- reactos/include/psdk/d3d9.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/reactos/include/psdk/d3d9.h b/reactos/include/psdk/d3d9.h index 1eca3624940..3a19fd65210 100644 --- a/reactos/include/psdk/d3d9.h +++ b/reactos/include/psdk/d3d9.h @@ -57,7 +57,12 @@ /***************************************************************************** * #defines and error codes */ +#ifdef D3D_DEBUG_INFO +#define D3D_SDK_VERSION (32 | 0x80000000) +#else #define D3D_SDK_VERSION 32 +#endif + #define D3DADAPTER_DEFAULT 0 #define D3DENUM_NO_WHQL_LEVEL 0x00000002L #define D3DPRESENT_BACK_BUFFERS_MAX 3L @@ -176,6 +181,11 @@ DECLARE_INTERFACE_(IDirect3D9,IUnknown) STDMETHOD(GetDeviceCaps)(THIS_ UINT Adapter, D3DDEVTYPE DeviceType, D3DCAPS9* pCaps) PURE; STDMETHOD_(HMONITOR, GetAdapterMonitor)(THIS_ UINT Adapter) PURE; STDMETHOD(CreateDevice)(THIS_ UINT Adapter, D3DDEVTYPE DeviceType, HWND hFocusWindow, DWORD BehaviorFlags, D3DPRESENT_PARAMETERS* pPresentationParameters, struct IDirect3DDevice9** ppReturnedDeviceInterface) PURE; + +#ifdef D3D_DEBUG_INFO + LPCWSTR Version; +#endif + }; #undef INTERFACE