###User Defined Function###
_WinAPI_GetKeyboardType

###Description###
Retrieves information about the current keyboard.

###Syntax###
#include <WinAPISys.au3>
_WinAPI_GetKeyboardType ( $iType )


###Parameters###
@@ParamTable@@
$iType
	The type of keyboard information to be retrieved, valid values:
	0 - Keyboard type.
	1 - Keyboard subtype (original equipment manufacturer (OEM)-dependent value).
	2 - The number of function keys on the keyboard.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	The value that specifies the requested information.
	If $iType is 0, return value may be one of the following values.
	1 - IBM PC/XT or compatible (83-key) keyboard.
	2 - Olivetti "ICO" (102-key) keyboard.
	3 - IBM PC/AT (84-key) or similar keyboard.
	4 - IBM enhanced (101- or 102-key) keyboard.
	5 - Nokia 1050 and similar keyboards.
	6 - Nokia 9140 and similar keyboards.
	7 - Japanese keyboard.
	Zero is a valid return value when $iType is one (keyboard subtype).
Failure 	0, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information.
@@End@@


###Remarks###
When a single USB keyboard is connected to the computer, this function returns the code 81.


###Related###


###See Also###
@@MsdnLink@@ GetKeyboardType


###Example###
@@IncludeExample@@
