[PATCH 1/5] include: Add defines for ID2D1ImageSourceFromWic.

Ziqing Hui zhui at codeweavers.com
Tue Mar 29 22:57:45 CDT 2022


Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
---
 include/d2d1_3.idl | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/include/d2d1_3.idl b/include/d2d1_3.idl
index a33292882df..643212e1a27 100644
--- a/include/d2d1_3.idl
+++ b/include/d2d1_3.idl
@@ -166,3 +166,21 @@ interface ID2D1ImageSource : ID2D1Image
         [out] BOOL *resources_discarded
     );
 };
+
+[
+    object,
+    uuid(77395441-1c8f-4555-8683-f50dab0fe792),
+    local,
+]
+interface ID2D1ImageSourceFromWic : ID2D1ImageSource
+{
+    HRESULT EnsureCached(
+        [in, optional] const D2D1_RECT_U *rect_to_fill
+    );
+    HRESULT TrimCache(
+        [in, optional] const D2D1_RECT_U *rect_to_preserve
+    );
+    void GetSource(
+        [out] IWICBitmapSource **source
+    );
+};
-- 
2.25.1




More information about the wine-devel mailing list