NAME
VkKeyScan32A - VkKeyScanA [USER32.572]
SYNOPSIS
WORD VkKeyScan32A(CHAR cChar);
DESCRIPTION
VkKeyScan translates an ANSI character to a virtual-key and shift code for the current keyboard. High-order byte yields : 0 Unshifted 1 Shift 2 Ctrl 3-5 Shift-key combinations that are not used for characters 6 Ctrl-Alt 7 Ctrl-Alt-Shift I.e. : Shift = 1, Ctrl = 2, Alt = 4. FIXME : works ok except for dead chars : VkKeyScan '^'(0x5e, 94) ... Got keycode 00 ... Returning 00 VkKeyScan '`'(0x60, 96) ... Got keycode 00 ... Returning 00.
SEE ALSO
KEYBOARD_Init(3w), KEYBOARD_HandleEvent(3w), GetKeyState16(3w), GetKeyState32(3w), GetKeyboardState(3w), SetKeyboardState(3w), GetAsyncKeyState32(3w), GetAsyncKeyState16(3w), CreateAcceleratorTable32A(3w), OemKeyScan(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)