DISPLAYCONFIG_SDR_WHITE_LEVEL structure (wingdi.h)

The DISPLAYCONFIG_SDR_WHITE_LEVEL structure contains information about a display's current SDR white level. This is the brightness level that SDR "white" is rendered at within an HDR monitor.

Syntax

typedef struct _DISPLAYCONFIG_SDR_WHITE_LEVEL {
  DISPLAYCONFIG_DEVICE_INFO_HEADER header;
  ULONG                            SDRWhiteLevel;
} DISPLAYCONFIG_SDR_WHITE_LEVEL;

Members

header

A DISPLAYCONFIG_DEVICE_INFO_HEADER structure that contains information for getting the SDR white level. The type member of DISPLAYCONFIG_DEVICE_INFO_HEADER is set to DISPLAYCONFIG_DEVICE_INFO_GET_SDR_WHITE_LEVEL. DISPLAYCONFIG_DEVICE_INFO_HEADER also contains the adapter and target identifiers of the target to get the SDR white level for. The size member of DISPLAYCONFIG_DEVICE_INFO_HEADER is set to at least the size of the DISPLAYCONFIG_SDR_WHITE_LEVEL structure.

SDRWhiteLevel

The monitor's current SDR white level, specified as a multiplier of 80 nits, multiplied by 1000. E.g. a value of 1000 would indicate that the SDR white level is 80 nits, while a value of 2000 would indicate an SDR white level of 160 nits.

DISPLAYCONFIG_SDR_WHITE_LEVEL sdrWhiteLevel;
...
float SDRWhiteLevelInNits = (float)sdrWhiteLevel.SDRWhiteLevel / 1000 * 80;

Requirements

Requirement Value
Header wingdi.h

See also

Using DirectX with high dynamic range Displays and Advanced Color

DISPLAYCONFIG_DEVICE_INFO_HEADER

DisplayConfigGetDeviceInfo