VMOUSE provides three services that other VxDs can use to retrieve information from VMOUSE. The VMD_Get_Version service retrieves the version number of VMOUSE. A VxD can call this service to determine whether VMOUSE is loaded. This is the only service that will not cause an invalid link error to occur if VMOUSE is not loaded.
A virtual device can use the VMD_Get_Mouse_Data service to retrieve information about the mouse that a mouse minidriver has registered using a previous call to the VMD_Set_Mouse_Data service. The information includes the mouse-type identifier, the number of the interrupt request line (IRQ) the mouse is using, the number of buttons on the mouse, and the number of the port the mouse is using.
The VMD_Get_Mouse_Owner service retrieves the handle of the VM that is currently receiving mouse input.
See also VMD_Get_Mouse_Data, VMD_Get_Mouse_Owner, VMD_Get_Version