IddCxMonitorUpdateModes2 - NtDoc

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

NTSTATUS IddCxMonitorUpdateModes2(
  IDDCX_MONITOR               MonitorObject,
  const IDARG_IN_UPDATEMODES2 *pInArgs
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-iddcx-iddcxmonitorupdatemodes2)

Description

An indirect display driver calls IddCxMonitorUpdateModes2 to have the OS update the mode list for a monitor.

Parameters

MonitorObject

[in] An IDDCX_MONITOR object that is the OS's context handle for the monitor. The OS provided this handle in a prior call to IddCxMonitorCreate.

pInArgs

[in] Pointer to an IDARG_IN_UPDATEMODES2 structure that contains the input arguments for this function.

Return value

IddCxMonitorUpdateModes2 returns STATUS_SUCCESS upon success; otherwise it returns an appropriate NTSTATUS error code.

Remarks

A driver can call IddCxMonitorUpdateModes2 to update the mode list previously reported for a monitor.

Drivers sending modes with SDR WCG or HDR parameters will fail if they have not also reported IDDCX_ADAPTER_FLAGS_CAN_PROCESS_FP16 in the IddCxAdapterInitAsync call. Also, drivers reporting IDDCX_ADAPTER_FLAGS_CAN_PROCESS_FP16 can only call IddCxMonitorUpdateModes2; calling IddCxMonitorUpdateModes is an error.

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

See also

IDARG_IN_UPDATEMODES2