2 * Copyright 2022 Ziqing Hui for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 import
"d2d1effects_1.idl";
21 cpp_quote
("DEFINE_GUID(CLSID_D2D1Grayscale, 0x36dde0eb,0x3725,0x42e0,0x83,0x6d,0x52,0xfb,0x20,0xae,0xe6,0x44);")
22 cpp_quote
("DEFINE_GUID(CLSID_D2D1HighlightsShadows, 0xcadc8384,0x323f,0x4c7e,0xa3,0x61,0x2e,0x2b,0x24,0xdf,0x6e,0xe4);")
24 typedef enum D2D1_HIGHLIGHTSANDSHADOWS_PROP
26 D2D1_HIGHLIGHTSANDSHADOWS_PROP_HIGHLIGHTS
= 0x0,
27 D2D1_HIGHLIGHTSANDSHADOWS_PROP_SHADOWS
= 0x1,
28 D2D1_HIGHLIGHTSANDSHADOWS_PROP_CLARITY
= 0x2,
29 D2D1_HIGHLIGHTSANDSHADOWS_PROP_INPUT_GAMMA
= 0x3,
30 D2D1_HIGHLIGHTSANDSHADOWS_PROP_MASK_BLUR_RADIUS
= 0x4,
31 D2D1_HIGHLIGHTSANDSHADOWS_PROP_FORCE_DWORD
= 0xffffffff
32 } D2D1_HIGHLIGHTSANDSHADOWS_PROP
;
34 typedef enum D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA
36 D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_LINEAR
= 0x0,
37 D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_SRGB
= 0x1,
38 D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_FORCE_DWORD
= 0xffffffff
39 } D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA
;