EVT_IDD_CX_MONITOR_GET_DEFAULT_DESCRIPTION_MODES callback function (iddcx.h)

EVT_IDD_CX_MONITOR_GET_DEFAULT_DESCRIPTION_MODES is called by the OS to request the default monitor mode list from the driver for the specified monitor when a monitor without a description is connected.

Syntax

EVT_IDD_CX_MONITOR_GET_DEFAULT_DESCRIPTION_MODES EvtIddCxMonitorGetDefaultDescriptionModes;

NTSTATUS EvtIddCxMonitorGetDefaultDescriptionModes(
  IDDCX_MONITOR MonitorObject,
  const IDARG_IN_GETDEFAULTDESCRIPTIONMODES *pInArgs,
  IDARG_OUT_GETDEFAULTDESCRIPTIONMODES *pOutArgs
)
{...}

Parameters

MonitorObject

[in] A handle by the OS to identify the monitor that requires a generated list of default modes.

pInArgs

[in] A pointer to a IDARG_IN_GETDEFAULTDESCRIPTIONMODES structure to be used by the driver.

pOutArgs

[out] A pointer to a IDARG_OUT_GETDEFAULTDESCRIPTIONMODES structure for the driver to fill.

Return value

(NTSTATUS) If the operation is successful, the callback function must return STATUS_SUCCESS, or another status value for which NT_SUCCESS(status) equals TRUE. Otherwise, an appropriate NTSTATUS error code.

Remarks

The driver must create at least one monitor mode for the monitor description.

Requirements

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