VMD_Set_Mouse_Data

include vmd.inc
 
mov     ah, MouseType
mov     al, IRQ
mov     ebx, BallPointFlag
mov     ecx, BallPointID
mov     dh, ButtonCount
mov     dl, PortNumber
VxDcall VMD_Set_Mouse_Data
 

Allows a mouse minidriver to provide information to VMOUSE about the type of mouse hardware the minidriver supports. VMOUSE stores information for only one mouse at a time. Uses EAX and Flags.

MouseType
One of the following mouse-type identifiers:
VMD_Type_Bus VMD_Type_PS2
VMD_Type_Serial VMD_Type_Serial_w_port
VMD_Type_InPort VMD_Type_Undefined
VMD_Type_HP  

IRQ
IRQ the mouse is using.
BallPointFlag
Microsoft BallPoint support. Bit zero is 1 if the mouse minidriver supports BallPoint; otherwise, it is 0.
BallPointID
Identifier of BallPoint if bit zero of BallPointFlag is 1.
ButtonCount
Number of buttons on the mouse supported by the mouse minidriver.
PortNumber
Port to which the mouse is connected, if the mouse is a serial or InPort mouse.

See also VMD_Get_Mouse_Data