d3d10: Fix d3dcommon.h inclusion.
authorRico Schüller <kgbricola@web.de>
Sun, 15 Aug 2010 15:05:19 +0000 (17:05 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 17 Aug 2010 09:38:00 +0000 (11:38 +0200)
include/d3d10.idl
include/d3dcommon.idl

index 620591773d48870a67cb68f8a55c7fc9dfb71109..ce3807bebfb99f6fdba9e92f0d962ace4a600d6e 100644 (file)
@@ -19,6 +19,7 @@
 import "oaidl.idl";
 import "ocidl.idl";
 import "dxgi.idl";
+import "d3dcommon.idl";
 
 cpp_quote("#ifndef _D3D10_CONSTANTS")
 cpp_quote("#define _D3D10_CONSTANTS")
index 6cba9d2f6b082f6124f772afdeb2812e7a3ec803..217b36536643f4ec81dd1cac0862f99e799a7a73 100644 (file)
@@ -35,12 +35,13 @@ typedef struct _D3D_SHADER_MACRO* LPD3D_SHADER_MACRO;
 interface ID3D10Blob : IUnknown
 {
     void *GetBufferPointer();
-    DWORD GetBufferSize();
+    SIZE_T GetBufferSize();
 }
 
 typedef ID3D10Blob* LPD3D10BLOB;
 typedef ID3D10Blob ID3DBlob;
 typedef ID3DBlob* LPD3DBLOB;
+cpp_quote("#define IID_ID3DBlob IID_ID3D10Blob")
 
 typedef enum _D3D_INCLUDE_TYPE
 {