CorePhysicalKeyStatus CorePhysicalKeyStatus CorePhysicalKeyStatus Struct

Definition

Specifies the set of physical key status items that can be obtained.

public struct CorePhysicalKeyStatuspublic struct CorePhysicalKeyStatusPublic Structure CorePhysicalKeyStatus
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

IsExtendedKey IsExtendedKey IsExtendedKey

Whether the key that was pressed maps to an extended ASCII character.

public field bool IsExtendedKeypublic field bool IsExtendedKeyPublic Field IsExtendedKey
Attributes

IsKeyReleased IsKeyReleased IsKeyReleased

Whether a key has moved from a pressed to a released status.

public field bool IsKeyReleasedpublic field bool IsKeyReleasedPublic Field IsKeyReleased
Attributes

IsMenuKeyDown IsMenuKeyDown IsMenuKeyDown

Whether the menu key is currently pressed down.

public field bool IsMenuKeyDownpublic field bool IsMenuKeyDownPublic Field IsMenuKeyDown
Attributes

RepeatCount RepeatCount RepeatCount

The number of times a key was pressed.

public field uint RepeatCountpublic field uint RepeatCountPublic Field RepeatCount
Attributes

ScanCode ScanCode ScanCode

The scan code for a key that was pressed.

public field uint ScanCodepublic field uint ScanCodePublic Field ScanCode
Attributes

WasKeyDown WasKeyDown WasKeyDown

Whether a key is currently pressed down.

public field bool WasKeyDownpublic field bool WasKeyDownPublic Field WasKeyDown
Attributes