Does anyone know how the mouse control panel decides whether to show the
"Wheel" tab?

Our experiments seem to be indicating that, rather than using some kind
of IOCTL_MOUSE_QUERY_ATTRIBUTES call, it may be looking at the PNP ID of
the currently installed mouse (at least for PS/2).

The symptom is that if we install our driver using a compatible ID
(PNP0F13) the tab shows up, but if we install the exact same driver on a
device/platform specific PNP (e.g. SYN0010) the tab goes away, with no
other changes.

If this guess is correct, is there some kind of registry key or
something that would cause the Wheel tab to come back? Some of our
customers are complaining about it going away.
--
../ray\..

Re: Wheel tab on mouse control panel by Eliyas

Eliyas
Wed Jun 02 13:45:47 CDT 2004

It seems to me that the control panel is using GetSystemMetrics function to
find out whether there's a mouse with a wheel installed.

GetSystemMetrics(SM_MOUSEWHEELPRESENT)

I kind of got lost trying to find the definition of GetSystemMetrics. Can
you step thru this function and find out from where it's getting this
information?

--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx



Re: Wheel tab on mouse control panel by Ray

Ray
Fri Jun 04 16:33:01 CDT 2004

I could probably track down the proximate location (though I was hoping
not to have to reverse engineer Windows for this particular problem :-).

However, I suspect that if I go to this trouble, I'll probably discover
that it's just cached in a memory location somewhere, which will just
beg the question of how it got set that way in the first place...

Eliyas Yakub [MSFT] wrote:

> It seems to me that the control panel is using GetSystemMetrics function to
> find out whether there's a mouse with a wheel installed.
>
> GetSystemMetrics(SM_MOUSEWHEELPRESENT)
>
> I kind of got lost trying to find the definition of GetSystemMetrics. Can
> you step thru this function and find out from where it's getting this
> information?
>