[PATCH 1/6] include: Add defines for ID2D1VertexBuffer.

Ziqing Hui zhui at codeweavers.com
Thu Apr 21 23:23:48 CDT 2022


Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
---
 include/Makefile.in          |  1 +
 include/d2d1effectauthor.idl | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100644 include/d2d1effectauthor.idl

diff --git a/include/Makefile.in b/include/Makefile.in
index dff2f341568..90d451ba5b1 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -107,6 +107,7 @@ SOURCES = \
 	d2d1effects.idl \
 	d2d1effects_1.idl \
 	d2d1effects_2.idl \
+	d2d1effectauthor.idl \
 	d2dbasetypes.h \
 	d2derr.h \
 	d3d.h \
diff --git a/include/d2d1effectauthor.idl b/include/d2d1effectauthor.idl
new file mode 100644
index 00000000000..4a2d84cfa4b
--- /dev/null
+++ b/include/d2d1effectauthor.idl
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2022 Ziqing Hui 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 "d2d1_1.idl";
+
+[
+    object,
+    uuid(9b8b1336-00a5-4668-92b7-ced5d8bf9b7b),
+    local,
+]
+interface ID2D1VertexBuffer : IUnknown
+{
+    HRESULT Map(
+        [out] BYTE **data,
+        [in] UINT32 buffer_size
+    );
+    HRESULT Unmap();
+};
-- 
2.25.1




More information about the wine-devel mailing list