CorePhysicalKeyStatus structure

Applies to Windows and Windows Phone

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

Syntax


public struct CorePhysicalKeyStatus

Attributes

[Version(0x06020000)]
[WebHostHidden()]

Members

The CorePhysicalKeyStatus structure has these fields.

FieldData typeDescription
IsExtendedKey

System.Boolean [.NET] | Platform::Boolean [C++]

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

IsKeyReleased

System.Boolean [.NET] | Platform::Boolean [C++]

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

IsMenuKeyDown

System.Boolean [.NET] | Platform::Boolean [C++]

Whether the menu key is currently pressed down.

RepeatCount

System.UInt32 [.NET] | uint32 [C++]

The number of times a key was pressed.

ScanCode

System.UInt32 [.NET] | uint32 [C++]

The scan code for a key that was pressed.

WasKeyDown

System.Boolean [.NET] | Platform::Boolean [C++]

Whether a key is currently pressed down.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft