[Bug 24220] GetKeyboardState doesn't work

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 31 07:13:21 CDT 2010


--- Comment #2 from stampoon <stampoon at gmail.com> 2010-08-31 07:13:21 CDT ---
(In reply to comment #1)
> Your test has an error, GetKeyboardState returns 'BOOL', you need to check if
> it failed by testing it against 0.  I don't have access to a Wine environment
> right now, but perhaps you should fix your test and retry.

I add "if (GetKeyboardState(keystate) != 0) printf("%s","not fail");", but "not
fail" prints to std, aka GetKeyboardState returns TRUE.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list