[PATCH 3/3] include: Add defines for ID2D1EffectImpl.
Ziqing Hui
zhui at codeweavers.com
Tue Apr 26 23:24:40 CDT 2022
Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
---
include/d2d1effectauthor.idl | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/include/d2d1effectauthor.idl b/include/d2d1effectauthor.idl
index 60cff9cc277..b53aa515e85 100644
--- a/include/d2d1effectauthor.idl
+++ b/include/d2d1effectauthor.idl
@@ -47,6 +47,15 @@ typedef enum D2D1_CHANNEL_DEPTH
D2D1_CHANNEL_DEPTH_FORCE_DWORD = 0xffffffff
} D2D1_CHANNEL_DEPTH;
+typedef enum D2D1_CHANGE_TYPE
+{
+ D2D1_CHANGE_TYPE_NONE = 0x0,
+ D2D1_CHANGE_TYPE_PROPERTIES = 0x1,
+ D2D1_CHANGE_TYPE_CONTEXT = 0x2,
+ D2D1_CHANGE_TYPE_GRAPH = 0x3,
+ D2D1_CHANGE_TYPE_FORCE_DWORD = 0xffffffff
+} D2D1_CHANGE_TYPE;
+
typedef enum D2D1_PIXEL_OPTIONS
{
D2D1_PIXEL_OPTIONS_NONE = 0x0,
@@ -576,3 +585,22 @@ interface ID2D1EffectContext : IUnknown
[in] D2D1_BUFFER_PRECISION precision
);
}
+
+[
+ object,
+ uuid(a248fd3f-3e6c-4e63-9f03-7f68ecc91db9),
+ local,
+]
+interface ID2D1EffectImpl : IUnknown
+{
+ HRESULT Initialize(
+ [in] ID2D1EffectContext *context,
+ [in] ID2D1TransformGraph *graph
+ );
+ HRESULT PrepareForRender(
+ [in] D2D1_CHANGE_TYPE type
+ );
+ HRESULT SetGraph(
+ [in] ID2D1TransformGraph *graph
+ );
+}
--
2.25.1
More information about the wine-devel
mailing list