include: Add the ID3D10Blob interface.
Matteo Bruni
matteo.mystral at gmail.com
Mon Jul 26 15:05:36 CDT 2010
-------------- next part --------------
From b4e1e363f6c6e8708823221a4673213dbe09ab45 Mon Sep 17 00:00:00 2001
From: Matteo Bruni <matteo.mystral at gmail.com>
Date: Mon, 26 Jul 2010 21:56:00 +0200
Subject: include: Add the ID3D10Blob interface.
---
include/Makefile.in | 1 +
include/d3dcommon.idl | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 0 deletions(-)
create mode 100644 include/d3dcommon.idl
diff --git a/include/Makefile.in b/include/Makefile.in
index b228795..153272d 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -26,6 +26,7 @@ PUBLIC_IDL_H_SRCS = \
ctfutb.idl \
ctxtcall.idl \
d3d10.idl \
+ d3dcommon.idl \
ddstream.idl \
devicetopology.idl \
dimm.idl \
diff --git a/include/d3dcommon.idl b/include/d3dcommon.idl
new file mode 100644
index 0000000..10efaf2
--- /dev/null
+++ b/include/d3dcommon.idl
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2010 Matteo Bruni for CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+import "oaidl.idl";
+import "ocidl.idl";
+
+[
+ object,
+ local,
+ uuid(8ba5fb08-5195-40e2-ac58-0d989c3a0102)
+]
+interface ID3D10Blob : IUnknown
+{
+ LPVOID GetBufferPointer();
+ DWORD GetBufferSize();
+}
+
+cpp_quote("#define IID_ID3DBlob IID_ID3D10Blob")
+cpp_quote("typedef interface ID3D10Blob* LPD3D10BLOB;")
+cpp_quote("typedef ID3D10Blob ID3DBlob;")
+cpp_quote("typedef ID3DBlob* LPD3DBLOB;")
--
1.7.1
More information about the wine-patches
mailing list