From 2b28555b99daf5286e291f940b1e401e524257d0 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 5 Nov 2020 21:25:34 +0530 Subject: [PATCH 5/6] include: Add ID2D1GdiMetafile interface in d2d1_1.idl. Signed-off-by: Biswapriyo Nath --- 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 707d937..2ed1ce7 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), -- 2.29.2