// iddcx.h
NTSTATUS IddCxMonitorUpdateModes(
IDDCX_MONITOR MonitorObject,
const IDARG_IN_UPDATEMODES *pInArgs
);
View the official Windows Driver Kit DDI referenceNo description available.
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.
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.
IddCxMonitorUpdateModes returns STATUS_SUCCESS upon success; otherwise it returns an appropriate NTSTATUS error code.
A driver can call IddCxMonitorUpdateModes to update the mode list previously reported for a monitor.