Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
VMD_Set_Mouse_Type
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmd.inc
 
VxDcall VMD_Set_Mouse_Type
 
The VMD_Set_Mouse_Type service sets the mouse type.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
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 VMD.INC for mouse definitions. If
           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
 
                                      ♦