IddCxMonitorSetupHardwareCursor function (iddcx.h)

An indirect display driver calls IddCxMonitorSetupHardwareCursor to setup hardware cursor support for the path.

Syntax

NTSTATUS IddCxMonitorSetupHardwareCursor(
  [in] IDDCX_MONITOR                 MonitorObject,
  [in] const IDARG_IN_SETUP_HWCURSOR *pInArgs
);

Parameters

[in] MonitorObject

An IDDCX_MONITOR object which is the monitor's OS context handle created by IddCxMonitorCreate.

[in] pInArgs

An IDARG_IN_SETUP_HWCURSOR structure containing this function's input arguments.

Return value

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

Remarks

By default, software cursor is enabled when a mode is committed on a path. If the driver wants to accelerate the cursor on that path it uses this callback to enable hardware cursor support.

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_SETUP_HWCURSOR

IddCxMonitorQueryHardwareCursor

IddCxMonitorQueryHardwareCursor2