Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 713 Bytes

corecomponentinputsource_getcurrentkeystate_324576627.md

File metadata and controls

29 lines (20 loc) · 713 Bytes
-api-id -api-type
M:Windows.UI.Core.CoreComponentInputSource.GetCurrentKeyState(Windows.System.VirtualKey)
winrt method

Windows.UI.Core.CoreComponentInputSource.GetCurrentKeyState

-description

Gets the current status of a virtual key press.

-parameters

-param virtualKey

The key from which to retrieve status.

-returns

The flags indicating the current state of the supplied virtual key when the input event fired.

Note

All keys support the Locked state (not just the standard Caps Lock and Num Lock keys).

-remarks

-examples

-see-also