How works pGetAsyncKeyState?

Rafał Miłecki zajec5polish at
Mon May 14 13:18:31 CDT 2007


It's my first time I look into source of Wine. I found a bug near
dlls/user32/input.c.  You can find here this code:

SHORT WINAPI GetAsyncKeyState(INT nKey)
    return USER_Driver->pGetAsyncKeyState( nKey );

The problem is that this function don't return right value in every
case. Could someone explain me how it works, please?

I can not find anywhere code writing any value to "pGetAsyncKeyState"
nor function that is executed when "pGetAsyncKeyState" is called.

Rafał Miłecki

More information about the wine-devel mailing list