IddCxMonitorDeparture function (iddcx.h)

An indirect display driver (IDD) calls IddCxMonitorDeparture to report a monitor departure from the WDDM graphics adapter.

Syntax

NTSTATUS IddCxMonitorDeparture(
  [in] IDDCX_MONITOR MonitorObject
);

Parameters

[in] MonitorObject

The IDDCX_MONITOR object for the monitor that is departing.

Return value

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

Remarks

IddCxMonitorCreate creates the IDDCX_MONITOR object for an arriving 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

IddCxMonitorCreate