EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// iddcx.h

EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES EvtIddCxMonitorQueryTargetModes;

NTSTATUS EvtIddCxMonitorQueryTargetModes(
  IDDCX_MONITOR MonitorObject,
  const IDARG_IN_QUERYTARGETMODES *pInArgs,
  IDARG_OUT_QUERYTARGETMODES *pOutArgs
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-iddcx-evt_idd_cx_monitor_query_target_modes)

EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES callback function

Description

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.

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.

See also

EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES2

IDARG_IN_QUERYTARGETMODES

IDARG_OUT_QUERYTARGETMODES