IddCxMonitorUpdateModes function (iddcx.h)

An indirect display driver calls IddCxMonitorUpdateModes to have the OS update the mode list for a monitor. A driver that reports HDR support must use IddCxMonitorUpdateModes2 instead.

Syntax

NTSTATUS IddCxMonitorUpdateModes(
  IDDCX_MONITOR              MonitorObject,
  const IDARG_IN_UPDATEMODES *pInArgs
);

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_UPDATEMODES structure that contains the input arguments for this function.

Return value

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

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header iddcx.h
Library IddCxStub.lib
DLL IddCx.dll
IRQL Must_inspect_result

See also

IDARG_IN_UPDATEMODES

IddCxMonitorUpdateModes2