KeyboardInputFlags Enumeration

Specifies various aspects of a keystroke.

Flags combination for Flags field.

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.
[FlagsAttribute]
public enum KeyboardInputFlags

Remarks

Members

KeyDown 0 If specified, the key is being pressed.
ExtendedKey 1 If specified, the scan code was preceded by a prefix byte that has the value 0xE0 (224).
KeyUp 2 If specified, the key is being released.

If not specified, the key is being pressed.

Unicode 4 If specified, the system synthesizes a VK_PACKET keystroke.

The VirtualKey parameter must be 0.

This flag can only be combined with the KeyUp flag.

ScanCode 8 If specified, ScanCode identifies the key and VirtualKey is ignored.

See Also