[PATCH 2/2] include: Add ID2D1DrawingStateBlock1 definition.

Nikolay Sivov nsivov at codeweavers.com
Thu Sep 13 03:07:57 CDT 2018


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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 1118226310..ff283f8f1a 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 ID2D1DrawingStateBlock1;
 interface ID2D1GdiMetafile;
 interface ID2D1Properties;
 interface IPrintDocumentPackageTarget;
@@ -251,6 +250,21 @@ typedef struct D2D1_EFFECT_INPUT_DESCRIPTION
 
 typedef HRESULT (__stdcall *PD2D1_EFFECT_FACTORY)(IUnknown **effect);
 
+[
+    object,
+    uuid(689f1f85-c72e-4e33-8f19-85754efd5ace),
+    local,
+]
+interface ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock
+{
+    void GetDescription(
+        [out] D2D1_DRAWING_STATE_DESCRIPTION1 *desc
+    );
+    void SetDescription(
+        [in] const D2D1_DRAWING_STATE_DESCRIPTION1 *desc
+    );
+}
+
 [
     object,
     uuid(a898a84c-3873-4588-b08b-ebbf978df041),
-- 
2.18.0




More information about the wine-devel mailing list