USER32 - SPI_GETMOUSE missing a default value.

Dmitry Timoshkov dmitry at
Fri Jan 4 00:16:48 CST 2008

"Peter Dons Tychsen" <donpedro at> wrote:

> I have an app which is bailing out because it cannot get valid data
> from SPI_GETMOUSE - and indeed this reg key does not exist.
> The key should be in "Control Panel\\Colors" under CURRENT_USER.

That's a wrong key name.

> There are similar values in the "Control Panel" folder in the registry.
> Is there a reason this value is not initialized ?

SPI_GETMOUSE should work just fine, do you have a sample code which
doesn't work? Is the app trying to read the registry directly without
using SystemParametersInfo?


More information about the wine-devel mailing list