Reference

GetAsyncKeyState32(3w)

GetAsyncKeyState (USER32.206)

NAME

GetAsyncKeyState32 - GetAsyncKeyState (USER32.206)

SYNOPSIS

WORD GetAsyncKeyState32(INT32 nKey);

DESCRIPTION

Determine if a key is or was pressed. Retval has high-order bit set to 1 if currently pressed, low-order bit set to 1 if key has been pressed.

This uses the variable AsyncMouseButtonsStates and AsyncKeyStateTable (set in event.c) which have the mouse button number or key number (whichever is applicable) set to true if the mouse or key had been depressed since the last call to GetAsyncKeyState.

SEE ALSO

KEYBOARD_Init(3w), KEYBOARD_HandleEvent(3w), GetKeyState16(3w), GetKeyState32(3w), GetKeyboardState(3w), SetKeyboardState(3w), GetAsyncKeyState16(3w), CreateAcceleratorTable32A(3w), OemKeyScan(3w), VkKeyScan32A(3w), VkKeyScan16(3w), VkKeyScan32W(3w), GetKeyboardType16(3w), GetKeyboardType32(3w), MapVirtualKey32A(3w), MapVirtualKey32W(3w), MapVirtualKey16(3w), GetKBCodePage16(3w), GetKBCodePage32(3w), GetKeyNameText32W(3w), GetKeyNameText32A(3w), GetKeyNameText16(3w), ToAscii16(3w), ToAscii32(3w), GetKeyboardLayout(3w), GetKeyboardLayoutList(3w), RegisterHotKey(3w), UnregisterHotKey(3w)