VirtualKeyMappingTypes Enumeration

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum VirtualKeyMappingTypes

Remarks

Members

VKeyToScanCode 0 code parameter is a virtual-key code and is translated into a scan code.

If it is a virtual-key code that does not distinguish between left and right hand keys, the left-hand scan code is returned.

If there is no translation, the function returns 0.

ScanCodeToVKey 1 code parameter is a scan code and is translated into a virtual-key code that does not distinguish between left and right hand keys.

If there is no translation, the function returns 0.

VKeyToChar 2 code parameter is a virtual-key code and is translated into an unshifted character value in the low-order word of the return value.

Dead keys (diacritics) are indicated by setting the top bit of the return value.

If there is no translation, the function returns 0.

ScanCodeToVKeyEx 3 code parameter is a scan code and is translated into a virtual-key code that distinguishes between left and right hand keys.

If there is no translation, the function returns 0.

VKeyToScanCodeEx 4 code parameter is a virtual-key code and is translated into a scan code.

If it is a virtual-key code that does not distinguish between left- and right-hand keys, the left-hand scan code is returned.

If the scan code is an extended scan code, the high byte of the code value can contain either 0xe0 or 0xe1 to specify the extended scan code.

If there is no translation, the function returns 0.

See Also