Author: gbrunmar
Date: Tue Dec 11 23:37:55 2007
New Revision: 31167
URL: 
http://svn.reactos.org/svn/reactos?rev=31167&view=rev
Log:
Added debug version of IDirect3D9 interface
Modified:
    trunk/reactos/include/psdk/d3d9.h
Modified: trunk/reactos/include/psdk/d3d9.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/d3d9.h?rev=31…
==============================================================================
--- trunk/reactos/include/psdk/d3d9.h (original)
+++ trunk/reactos/include/psdk/d3d9.h Tue Dec 11 23:37:55 2007
@@ -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 @@
     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