EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES callback function (iddcx.h)

EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES is called by the OS to get a list of target modes supported by the driver for a monitor connected to the endpoint. Use EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES2 to report additional information for HDR10 and WCG target modes.

Syntax

EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES EvtIddCxMonitorQueryTargetModes;

NTSTATUS EvtIddCxMonitorQueryTargetModes(
  IDDCX_MONITOR MonitorObject,
  const IDARG_IN_QUERYTARGETMODES *pInArgs,
  IDARG_OUT_QUERYTARGETMODES *pOutArgs
)
{...}

Parameters

MonitorObject

[in] The OS-generated context handle that identifies the monitor to generate a list of target modes for. This IDDCX_MONITOR object was returned in a prior call to IddCxMonitorCreate.

pInArgs

[in] Pointer to a IDARG_IN_QUERYTARGETMODES structure that contains input arguments used by EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES.

pOutArgs

[out] Pointer to a IDARG_OUT_QUERYTARGETMODES structure that contains output arguments generated by EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES.

Return value

EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES returns an NTSTATUS value. If the operation is successful, it returns STATUS_SUCCESS or another status value for which NT_SUCCESS(status) equals TRUE. Otherwise, it returns an appropriate NTSTATUS error code.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header iddcx.h

See also

EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES2

IDARG_IN_QUERYTARGETMODES

IDARG_OUT_QUERYTARGETMODES