Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Inquire
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
WORD Inquire(lpMouseInfo)
LPMOUSEINFO lpMouseInfo;
 
The Inquire function returns information about the mouse hardware.
 
Parameter    Description
────────────────────────────────────────────────────────────────────────────
 
 
lpMouseInfo  Points to a MOUSEINFO structure containing information about
             the mouse hardware that is present, the number of buttons on
             the mouse, and the rate at which the mouse can issue
             interrupts.
 
Return Value
 
The return value is the number of bytes actually written into the MOUSEINFO
structure.
 
Comments
 
The export ordinal for this function is 1.
 
Before setting the msMouseCommPort member in the MOUSEINFO structure, the
mouse driver must check the Windows version number. For Windows version 3.1
or greater, the driver should set the member to specify the communication
port (if any) used by the mouse.
 
See Also
 
Enable, MOUSEINFO