GetKeyState Function - Windows API

Purpose



Declaration

C#

[DllImport("user32.dll", ExactSpelling = true)]
public static extern ushort GetKeyState(uint nVirtKey);