ICoreWindow.GetAsyncKeyState(VirtualKey) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a method that returns the state of a virtual key asynchronously.
public:
CoreVirtualKeyStates GetAsyncKeyState(VirtualKey virtualKey);
CoreVirtualKeyStates GetAsyncKeyState(VirtualKey const& virtualKey);
public CoreVirtualKeyStates GetAsyncKeyState(VirtualKey virtualKey);
function getAsyncKeyState(virtualKey)
Public Function GetAsyncKeyState (virtualKey As VirtualKey) As CoreVirtualKeyStates
Parameters
- virtualKey
- VirtualKey
The virtual key for which state will be returned.
Returns
The state of the supplied virtual key when the input event was raised.