VMD_Post_Pointer_Message


include vmd.inc

mov     esi, DeltaX
mov     edi, DeltaY
mov     al, ButtonStatus
mov     edx, OFFSET32 MouseInstance
VxDcall VMD_Post_Pointer_Message

Informs VMOUSE of a mouse event, specifying the amount of mouse movement and the status of the mouse buttons. A mouse minidriver uses this service. Uses Flags; clears carry flag.

DeltaX and DeltaY

Amount, in mickeys, of horizontal and vertical mouse movement.

ButtonStatus

Bit flags that specify the status of the mouse buttons. A flag is set if the corresponding button is down. The meaning of the flags is as follows:

Bit

Meaning

0, 1

Undefined

2

Status of button 4

3

Status of button 2

4

Status of button 3

5

Status of button 1

6, 7

Undefined


MouseInstance

Address of a MOUSE_INSTANCE structure that contains information describing the device that produced the mouse event.

See also MOUSE_INSTANCE, VMD_Manipulate_Pointer_Message, VMD_Post_Absolute_Pointer_Message