2.2.2.4.2.5 SendMonoCursor

The SendMonoCursor order contains a monochrome cursor that the receiver SHOULD use.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Type

flags

xHotSpot

yHotSpot

Width

height

cbBits

aBits (variable)

...

Type (2 bytes): MUST be set to 0x0002.

flags (2 bytes): MUST be set to 0x0000.

xHotSpot (2 bytes): The hot spot x-coordinate within the cursor. By default, the hot spot is set to the upper-left corner of the cursor (coordinates 0,0).<5>

yHotSpot (2 bytes): The hot spot y-coordinate within the cursor. By default, the hot spot is set to the upper-left corner of the cursor (coordinates 0,0).<6>

Width (2 bytes): The width, in pixels, of the cursor.

height (2 bytes): The height, in pixels, of the cursor.

cbBits (2 bytes): The length, in bytes, of aBits.

aBits (variable): The bits for a monochrome XOR mask, followed by the bits for a monochrome AND mask.