Rico Schüller : d3d10: Fix d3dcommon.h inclusion.

Alexandre Julliard julliard at winehq.org
Tue Aug 17 11:31:09 CDT 2010


Module: wine
Branch: master
Commit: 09b347aedac459184e4b002107385423ce7db9bd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=09b347aedac459184e4b002107385423ce7db9bd

Author: Rico Schüller <kgbricola at web.de>
Date:   Sun Aug 15 17:05:19 2010 +0200

d3d10: Fix d3dcommon.h inclusion.

---

 include/d3d10.idl     |    1 +
 include/d3dcommon.idl |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/d3d10.idl b/include/d3d10.idl
index 6205917..ce3807b 100644
--- a/include/d3d10.idl
+++ b/include/d3d10.idl
@@ -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")
diff --git a/include/d3dcommon.idl b/include/d3dcommon.idl
index 6cba9d2..217b365 100644
--- a/include/d3dcommon.idl
+++ b/include/d3dcommon.idl
@@ -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
 {




More information about the wine-cvs mailing list