include: Add the ID3D10Blob interface. [try 3]

Matteo Bruni matteo.mystral at gmail.com
Mon Jul 26 16:15:01 CDT 2010


-------------- next part --------------
From 45ec2d4197313cd044d5ca6385cdff90a81ae544 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 |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 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..b9cdf0e
--- /dev/null
+++ b/include/d3dcommon.idl
@@ -0,0 +1,35 @@
+/*
+ * 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
+{
+    void *GetBufferPointer();
+    DWORD GetBufferSize();
+}
+
+typedef ID3D10Blob* LPD3D10BLOB;
+typedef ID3D10Blob ID3DBlob;
+typedef ID3DBlob* LPD3DBLOB;
-- 
1.7.1


More information about the wine-patches mailing list