[PATCH 1/5] include: Add ID2D1ColorContext interface in d2d1_1.idl.
Biswapriyo Nath
nathbappai at gmail.com
Wed Dec 9 08:01:45 CST 2020
-------------- next part --------------
From 9857c7769b7856cd6728dff2835dd9e425396d67 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbappai at gmail.com>
Date: Wed, 9 Dec 2020 19:24:34 +0530
Subject: [PATCH 1/5] include: Add ID2D1ColorContext interface in d2d1_1.idl.
Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
---
include/d2d1_1.idl | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/include/d2d1_1.idl b/include/d2d1_1.idl
index a72a6a9..f18de83 100644
--- a/include/d2d1_1.idl
+++ b/include/d2d1_1.idl
@@ -446,6 +446,21 @@ interface ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock
);
}
+[
+ object,
+ uuid(1c4820bb-5771-4518-a581-2fe4dd0ec657),
+ local,
+]
+interface ID2D1ColorContext : ID2D1Resource
+{
+ D2D1_COLOR_SPACE GetColorSpace();
+ UINT32 GetProfileSize();
+ HRESULT GetProfile(
+ [out] BYTE *profile,
+ [in] UINT32 size
+ );
+}
+
[
object,
uuid(a898a84c-3873-4588-b08b-ebbf978df041),
--
2.29.2
More information about the wine-devel
mailing list