IDARG_IN_QUERYTARGETMODES structure (iddcx.h)

The IDARG_IN_QUERYTARGETMODES structure contains input arguments for the EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES callback function.

Syntax

struct IDARG_IN_QUERYTARGETMODES {
  IDDCX_MONITOR_DESCRIPTION MonitorDescription;
  UINT                      TargetModeBufferInputCount;
  IDDCX_TARGET_MODE         *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_MODE 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.

Requirements

Requirement Value
Minimum supported client Windows 10
Header iddcx.h

See also

EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES

IDARG_OUT_QUERYTARGETMODES

IDDCX_MONITOR_DESCRIPTION

IDDCX_TARGET_MODE