[DllImport("User32.dll", CharSet = CharSet.Auto)]
public static extern int GetKeyboardType(int value);
Declare Function GetKeyboardTyре Lib "kernel32.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
None.
Please add some!
int value=0;
unsafe{GetKeyboardType(0);}//Обязательно!!
try{
value = GetKeyboardType(0);
MessageBox.Show(value.ToString());
}
catch (EntryPointNotFoundException)
{ MessageBox.Show("Ошибка " + (value - 1).ToString()); }
//simple --qwinmen