VkKeyScanEx

[DllImport("user32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
public static extern short VkKeyScanEx(
   char ch,
   IntPtr dwhkl
);

Microsoft documentation: Link

Last updated