Exemplo n.º 1
0
 /// <summary>
 /// Gives the keyboard current language.
 /// </summary>
 /// <returns></returns>
 public static IntPtr GetCurrentKeyboardLayout()
 {
     return(NativeWin32.GetKeyboardLayout(new UIntPtr(NativeWin32.GetTopMostThreadId())));
 }