IddCxMonitorArrival function (iddcx.h)

An indirect display driver (IDD) calls IddCxMonitorArrival to report a monitor arrival on the WDDM graphics adapter.

Syntax

NTSTATUS IddCxMonitorArrival(
  [in]  IDDCX_MONITOR            MonitorObject,
  [out] IDARG_OUT_MONITORARRIVAL *pOutArgs
);

Parameters

[in] MonitorObject

The IDDCX_MONITOR object for the monitor that arrived.

[out] pOutArgs

Pointer to an IDARG_OUT_MONITORARRIVAL structure in which to return details about the monitor that arrived.

Return value

(NTSTATUS) The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method may return an appropriate NTSTATUS error code.

Remarks

An IDD must first call IddCxMonitorCreate to obtain the IDDCX_MONITOR object.

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_OUT_MONITORARRIVAL

IddCxMonitorCreate

IddCxMonitorDeparture