Physical Key Status Struct
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the set of physical key status items that can be obtained.
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)] struct CorePhysicalKeyStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)] public struct CorePhysicalKeyStatus
Public Structure CorePhysicalKeyStatus
Windows 10 (introduced in 10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced in v1.0)
Whether the key that was pressed maps to an extended ASCII character.
Whether a key has moved from a pressed to a released status.
Whether the Alt key (represented by the VirtualKey.Menu value) is currently pressed down.
The number of times a key was pressed.
The scan code for a key that was pressed.
Whether a key is currently pressed down.