Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 790 Bytes

corewindow_getasynckeystate_1621551046.md

File metadata and controls

30 lines (21 loc) · 790 Bytes
-api-id -api-type
M:Windows.UI.Core.CoreWindow.GetAsyncKeyState(Windows.System.VirtualKey)
winrt method

Windows.UI.Core.CoreWindow.GetAsyncKeyState

-description

Asynchronously retrieves the state of a virtual key.

-parameters

-param virtualKey

The virtual key for which state is returned.

-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

CoreVirtualKeyStates, GetKeyState