[DllImport("User32.dll")][return: MarshalAs(UnmanagedType.U2)] public static extern ushort GetKeyboardType( uint nTypeFlag );
Microsoft documentation: Link
Last updated 1 year ago