Biswapriyo Nath : include: Add ID2D1GdiMetafile interface in d2d1_1.idl.

Alexandre Julliard julliard at winehq.org
Thu Nov 12 15:17:46 CST 2020


Module: wine
Branch: master
Commit: 0e0a0f2444dfe7713d8e3018f21d314ff08d189c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0e0a0f2444dfe7713d8e3018f21d314ff08d189c

Author: Biswapriyo Nath <nathbappai at gmail.com>
Date:   Thu Nov  5 21:43:34 2020 +0530

include: Add ID2D1GdiMetafile interface in d2d1_1.idl.

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/d2d1_1.idl | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/include/d2d1_1.idl b/include/d2d1_1.idl
index 707d93780c6..2ed1ce7cdf4 100644
--- a/include/d2d1_1.idl
+++ b/include/d2d1_1.idl
@@ -21,7 +21,6 @@ import "d2d1.idl";
 interface ID2D1DeviceContext;
 interface ID2D1StrokeStyle1;
 interface ID2D1PathGeometry1;
-interface ID2D1GdiMetafile;
 interface ID2D1Properties;
 interface IPrintDocumentPackageTarget;
 interface ID2D1PrintControl;
@@ -337,6 +336,21 @@ interface ID2D1GdiMetafileSink : IUnknown
     );
 }
 
+[
+    object,
+    uuid(2f543dc3-cfc1-4211-864f-cfd91c6f3395),
+    local,
+]
+interface ID2D1GdiMetafile : ID2D1Resource
+{
+    HRESULT Stream(
+        [in] ID2D1GdiMetafileSink *sink
+    );
+    HRESULT GetBounds(
+        [out] D2D1_RECT_F *bounds
+    );
+}
+
 [
     object,
     uuid(483473d7-cd46-4f9d-9d3a-3112aa80159d),




More information about the wine-cvs mailing list