Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CorePhysicalKeyStatus structure

Applies to Windows and Windows Phone

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

Syntax


Public Structure 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