VkKeyScan32A(3w)

VkKeyScan32A3w

Vkkeyscana [user32.572]

Usage

WORD VkKeyScan32A(CHAR cChar);

Overview

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.

From wine-doc 0.0.980315-1 in Debian 2.0 (Hamm). Parsed by carta from the page's man source.