Windows 3.1 Device Drivers (ddag31qh.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.
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