// iddcx.h
NTSTATUS IddCxMonitorQueryHardwareCursor(
[in] IDDCX_MONITOR MonitorObject,
[in] const IDARG_IN_QUERY_HWCURSOR *pInArgs,
[out] IDARG_OUT_QUERY_HWCURSOR *pOutArgs
);
View the official Windows Driver Kit DDI referenceNo description available.
An indirect display driver calls IddCxMonitorQueryHardwareCursor to obtain updated hardware cursor information for the specified monitor. A driver that reports HDR support must use IddCxMonitorQueryHardwareCursor3 instead.
MonitorObject [in]An IDDCX_MONITOR object which is the monitor's OS context handle created by IddCxMonitorCreate.
pInArgs [in]An IDARG_IN_QUERY_HWCURSOR structure containing this function's input arguments.
pOutArgs [out]An IDARG_OUT_QUERY_HWCURSOR structure in which the monitor's current hardware cursor information is returned.
IddCxMonitorQueryHardwareCursor returns STATUS_SUCCESS if the operation succeeds; otherwise, it returns an appropriate NTSTATUS error code.
The driver normally only calls this function when the event that signals cursor update has triggered.
For additional cursor information beyond what this function returns, call IddCxMonitorQueryHardwareCursor2 or IddCxMonitorQueryHardwareCursor3.
IddCxMonitorQueryHardwareCursor2
IddCxMonitorQueryHardwareCursor3
IddCxMonitorSetupHardwareCursor