IddCxMonitorCreate function (iddcx.h)

An indirect display driver (IDD) calls IddCxMonitorCreate to create a monitor object that can later be used for arrival.

Syntax

NTSTATUS IddCxMonitorCreate(
  [in]  IDDCX_ADAPTER                AdapterObject,
  [in]  const IDARG_IN_MONITORCREATE *pInArgs,
  [out] IDARG_OUT_MONITORCREATE      *pOutArgs
);

Parameters

[in] AdapterObject

The IDDCX_ADAPTER object that is hosting the newly arrived monitor.

[in] pInArgs

Pointer to an IDARG_IN_MONITORCREATE structure containing information about the monitor.

[out] pOutArgs

Pointer to an IDARG_OUT_MONITORCREATE structure in which the IDDCX_MONITOR object is returned.

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 call IddCxMonitorArrival to complete the monitor arrival.

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

See also

IDARG_IN_MONITORCREATE

IDARG_OUT_MONITORCREATE

IddCxMonitorArrival