Ziqing Hui : include: Add defines for ID2D1ImageSourceFromWic.
Alexandre Julliard
julliard at winehq.org
Wed Mar 30 15:43:56 CDT 2022
Module: wine
Branch: master
Commit: bd25d7f324981423773cdd6f07f4bf54b5c51050
URL: https://source.winehq.org/git/wine.git/?a=commit;h=bd25d7f324981423773cdd6f07f4bf54b5c51050
Author: Ziqing Hui <zhui at codeweavers.com>
Date: Wed Mar 30 11:57:45 2022 +0800
include: Add defines for ID2D1ImageSourceFromWic.
Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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
+ );
+};
More information about the wine-cvs
mailing list