0 out of 5 rated this helpful - Rate this topic

CorePhysicalKeyStatus structure

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

Syntax

Public Structure CorePhysicalKeyStatus

Attributes

VersionAttribute(NTDDI_WIN8)
WebHostHiddenAttribute()

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.

 

Remarks

Windows Phone 8

This API is not implemented and will throw an exception if called.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.