[DllImport("user32.dll", SetLastError = true)] public static extern int ToAscii( uint uVirtKey, uint uScanCode, byte[] lpKeyState, out ushort lpChar, uint uFlags );
Microsoft documentation: Link
Last updated 1 year ago