Determines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to GetAsyncKeyState.SyntaxC++ Salin SHORT GetAsyncKeyState( [in] int vKey ); Parameters[in] vKeyType: intThe...
public CoreVirtualKeyStates GetAsyncKeyState(VirtualKey virtualKey); Parameters virtualKey VirtualKey The virtual key for which state is returned. Returns CoreVirtualKeyStates The flags indicating the current state of the supplied virtual key when the input event fired. Note All keys support the Lo...
Specifies a method that returns the state of a virtual key asynchronously. C# Copy public CoreVirtualKeyStates GetAsyncKeyState(VirtualKey virtualKey); Parameters virtualKey VirtualKey The virtual key for which state will be returned. Returns CoreVirtualKeyStates The state of the supplied virtual...