include VMD.INC
Mouse_Instance STRUC
MI_Flags DW 0 ; see below
MI_IO_Base DW 0 ; base to read
MI_IRQNumber DB 0 ; number of the IRQ
MI_PortNum DB 0 ; port number (serial mice)
MI_MouseType DW 0 ; type of mouse (defined above)
MI_Reference DD 0 ; reference data
MI_hDevNode DD 0 ; handle of the device node
MI_hIRQ DD 0 ; handle of the IRQ used by VPICD
MI_HWINT DD 0 ; hardware interrupt procedure
MI_Reset DD 0 ; reset routine
MI_Disable DD 0 ; see below
MI_Initialize DD 0 ; see below
MI_LoadHandle DD 0 ; load handle of loaded VxD.
Mouse_Instance ENDS
Describes a mouse device. When loading a mouse minidriver, VMOUSE passes the address of this structure to the control procedure of a minidriver. If the minidriver detects the mouse device, it sets the appropriate flags in the MI_Flags field, and then fills the appropriate fields of the structure. This structure is also passed to the VMD_Post_Pointer_Message and VMD_Manipulate_Pointer_Message services.
Value | Meaning |
---|---|
MIF_Alloc | Instance is allocated |
MIF_Active | Interrupt is active |
MIF_Detected | Device detected |
MIF_BadDevNode | Device not detected |
MIF_NewConfig | No DevNode for device |
MIF_BadIO | Wrong IO in DevNode |
MIF_BadIRQ | Wrong IRQ in DevNode |
MIF_NoIRQ | Do not virtualize IRQ |
MIF_BUSMOUSE | BUSMOUSE |
MIF_INPMOUSE | INPORT |
MIF_AUXMOUSE | AUX (PS/2) mouse |
MIF_OTHERMOUSE | 3rd party mouse |
See also VMD_Manipulate_Pointer_Message, VMD_Post_Pointer_Message