#include vmd.inc mov bl, ButtonStatus VxDcall VMD_Set_Middle_Button
Allows a virtual device to install a hook procedure that supports the middle mouse button. VMOUSE calls the procedure whenever the status of the middle mouse button must be set. A virtual device uses the Hook_Device_Service VMM service to install the hook procedure. Uses BH.
ButtonStatus
Bit flags that specify the status of the mouse buttons. For the meaning of the flags, see the description of the VMD_Post_Pointer_Message service.
See also VMD_Post_Pointer_Message