DXGKCB_NOTIFYCURSORSUPPORTCHANGE callback function (d3dkmddi.h)

A kernel-mode display miniport driver calls DXGKCB_NOTIFYCURSORSUPPORTCHANGE to notify the operating system that cursor support has been changed.

Syntax

DXGKCB_NOTIFYCURSORSUPPORTCHANGE DxgkcbNotifycursorsupportchange;

NTSTATUS DxgkcbNotifycursorsupportchange(
  [in] IN_CONST_PDXGKARGCB_NOTIFYCURSORSUPPORTCHANGE pArgs
)
{...}

Parameters

[in] pArgs

Pointer to a DXGKARGCB_NOTIFYCURSORSUPPORTCHANGE structure that contains the arguments for this callback.

Return value

Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS error code.

Remarks

The kernel-mode driver can call DXGKCB_NOTIFYCURSORSUPPORTCHANGE either inside a DDI call from the OS or in an arbitrary thread before the adapter is stopped/removed.

DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, set the members of DXGKARGCB_NOTIFYCURSORSUPPORTCHANGE and then call DxgkCbNotifyCursorSupportChange via the DXGKRNL_INTERFACE.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004 (WDDM 2.8)
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See also

DXGKARGCB_NOTIFYCURSORSUPPORTCHANGE

DXGKRNL_INTERFACE