GRAPHICSCURSOR


include vmd.inc

GRAPHICSCURSOR Struc
cbSize           dw ?        ;size of structure, in bytes
dwOffset32Masks  dd ?        ;see below
wWidth           dw ?        ;width, in pixels, of the cursor bitmasks
wHeight          dw ?        ;height, in pixels, of the cursor bitmasks
wHotX            dw ?        ;see below
wHotY            dw ?        ;see below
wType            dw ?        ;1 if monochrome, 0 if not
GRAPHICSCURSOR Ends

Contains information that a cursor VxD uses to draw the cursor in graphics mode.

dwOffset32Masks

Offset from the beginning of the structure to the AND and XOR bitmasks. The XOR bitmask must follow the AND bitmask.

wHotX and wHotY

Horizontal and vertical coordinates of the pixel to serve as the hot spot. The coordinates are relative to the upper-left corner of the cursor bitmasks.

VMOUSE sets only 16-pixel by 16-pixel monochrome graphics cursors. A mouse hardware VxD that supports other sizes and multiple colors can call this function to set a cursor of a different size or color(s).

See also SETGRAPHICSCURSOR