Bewerken

Delen via


IDARG_IN_QUERYTARGETMODES2 structure (iddcx.h)

The IDARG_IN_QUERYTARGETMODES2 structure contains input arguments for the EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES2 callback function, which allows a driver to report extra information needed for HDR10 or WCG monitor modes.

Syntax

struct IDARG_IN_QUERYTARGETMODES2 {
  IDDCX_MONITOR_DESCRIPTION MonitorDescription;
  UINT                      TargetModeBufferInputCount;
  IDDCX_TARGET_MODE2        *pTargetModes;
};

Members

MonitorDescription

[in] An IDDCX_MONITOR_DESCRIPTION structure that contains the monitor description.

This might not be the monitor description the driver originally provided in the monitor arrival call, which allows for the monitor description to be updated by the OS.

TargetModeBufferInputCount

[in] The number of target modes that can be held in the buffer that pTargetModes points to. If the value is zero, then the driver should not copy the target mode list to pTargetModes, but should instead set IDARG_OUT_QUERYTARGETMODES's TargetModeBufferOutputCount value to indicate the size of buffer required to store the modes.

pTargetModes

[out] Pointer to a buffer of IDDCX_TARGET_MODE2 structures that the driver should copy the target modes it supports for this monitor to if the value is non-NULL. If pTargetModes is NULL, then driver shouldn't copy any data and should instead just set IDARG_OUT_QUERYTARGETMODES's TargetModeBufferOutputCount value to indicate the size of buffer required to store the modes.

Remarks

For more information about HDR support, see IddCx version 1.10 updates.

Requirements

Requirement Value
Minimum supported client Windows 11, version 22H2 September Update (IddCx version 1.10)
Header iddcx.h

See also

EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES2

IDARG_OUT_QUERYTARGETMODES

IDDCX_MONITOR_DESCRIPTION

IDDCX_TARGET_MODE2