IDARG_IN_QUERY_HWCURSOR structure (iddcx.h)

The IDARG_IN_QUERY_HWCURSOR structure is passed to IddCxMonitorQueryHardwareCursor, IddCxMonitorQueryHardwareCursor2, and IddCxMonitorQueryHardwareCursor3 to provide information about the cursor associated with the monitor.

Syntax

struct IDARG_IN_QUERY_HWCURSOR {
  [in]  DWORD LastShapeId;
  [in]  UINT  ShapeBufferSizeInBytes;
  [out] PBYTE pShapeBuffer;
};

Members

[in] LastShapeId

The ID of the last cursor shape the driver received for this monitor. This ID is compared against the latest shape ID that the OS has. The new shape is only copied to the buffer that pShapeBuffer points to if the OS version has been updated since the last image driver was received.

[in] ShapeBufferSizeInBytes

Size in bytes of the cursor shape buffer that pShapeBuffer points to.

[out] pShapeBuffer

Pointer to a driver-allocated buffer that the OS will copy any new cursor image data into.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header iddcx.h

See also

IDARG_OUT_QUERY_HWCURSOR2

IDARG_OUT_QUERY_HWCURSOR3

IddCxMonitorQueryHardwareCursor

IddCxMonitorQueryHardwareCursor2

IddCxMonitorQueryHardwareCursor3