Merge pull request #26337 from luzpaz/typos-addon
[xbmc.git] / xbmc / platform / win32 / SDK_26100.h
blob3349ab36bd5219dc0753b90156e594e05fa03fa6
1 /*
2 * Copyright (C) 2024 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 enum
13 DISPLAYCONFIG_DEVICE_INFO_SET_RESERVED1 = 14,
14 DISPLAYCONFIG_DEVICE_INFO_GET_ADVANCED_COLOR_INFO_2 = 15,
15 DISPLAYCONFIG_DEVICE_INFO_SET_HDR_STATE = 16,
16 DISPLAYCONFIG_DEVICE_INFO_SET_WCG_STATE = 17,
19 typedef enum _DISPLAYCONFIG_ADVANCED_COLOR_MODE
21 DISPLAYCONFIG_ADVANCED_COLOR_MODE_SDR,
22 DISPLAYCONFIG_ADVANCED_COLOR_MODE_WCG,
23 DISPLAYCONFIG_ADVANCED_COLOR_MODE_HDR
24 } DISPLAYCONFIG_ADVANCED_COLOR_MODE;
26 typedef struct _DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_2
28 DISPLAYCONFIG_DEVICE_INFO_HEADER header;
29 union
31 struct
33 UINT32 advancedColorSupported : 1;
34 UINT32 advancedColorActive : 1;
35 UINT32 reserved1 : 1;
36 UINT32 advancedColorLimitedByPolicy : 1;
37 UINT32 highDynamicRangeSupported : 1;
38 UINT32 highDynamicRangeUserEnabled : 1;
39 UINT32 wideColorSupported : 1;
40 UINT32 wideColorUserEnabled : 1;
41 UINT32 reserved : 24;
43 UINT32 value;
45 DISPLAYCONFIG_COLOR_ENCODING colorEncoding;
46 UINT32 bitsPerColorChannel;
47 DISPLAYCONFIG_ADVANCED_COLOR_MODE activeColorMode;
48 } DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_2;
50 typedef struct _DISPLAYCONFIG_SET_HDR_STATE
52 DISPLAYCONFIG_DEVICE_INFO_HEADER header;
53 union
55 struct
57 UINT32 enableHdr : 1;
58 UINT32 reserved : 31;
60 UINT32 value;
62 } DISPLAYCONFIG_SET_HDR_STATE;