VMD_Set_Mouse_Type

include vmd.inc

VxDcall VMD_Set_Mouse_Type


The VMD_Set_Mouse_Type service sets the mouse type.

Parameters

EAX

Specifies an IRQ number (if positive or zero) or an interrupt number (if negative). If this parameter is negative, the absolute value is the interrupt vector.

ECX

Specifies the mouse type. See the VMD.INC file for mouse definitions. If the high bit of CL is set, then DL is equal to the COM port number (1-based).

Return Value

The carry flag is clear if the mouse is virtualized. Otherwise, the EAX register contains one of the following error values:

Value Meaning

00 Mouse already virtualized.
01 Could not virtualize interrupt.

Uses

EAX, Flags