// iddcx.h
struct IDDCX_CURSOR_SHAPE_INFO {
UINT Size;
UINT ShapeId;
IDDCX_CURSOR_SHAPE_TYPE CursorType;
UINT Width;
UINT Height;
UINT Pitch;
UINT XHot;
UINT YHot;
};
View the official Windows Driver Kit DDI referenceNo description available.
The IDDCX_CURSOR_SHAPE_INFO structure describes cursor shape.
SizeTotal size of this structure, in bytes.
ShapeIdUnique ID for the current cursor image. ShapeId is incremented each time a cursor image is set, even if that image has been set before. The ID is used to check whether the current cursor image the driver has cached has changed and cannot be used in any way to allow caching for animated cursor sequences.
CursorTypeA IDDCX_CURSOR_SHAPE_TYPE value that indicates the type of cursor data written to the cursor shape buffer.
WidthWidth in pixels of the cursor shape written to the shape buffer.
HeightHeight in pixels of the cursor shape written to the shape buffer.
PitchPitch in bytes of the cursor shape written to the shape buffer.
XHotX position of the cursor hotspot relative to the top-left of the cursor.
YHotY position of the cursor hotspot relative to the top-left of the cursor.