Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:docs:fapi:kbdgethwid [2021/10/06 12:03] – created prokushev | en:docs:fapi:kbdgethwid [2021/11/04 13:24] (current) – prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{page> | ||
+ | |||
+ | ====== KbdGetHWID ====== | ||
+ | |||
Returns the type of keyboard in use. The hardware ID specifies the type of keyboard attached and is defined by the manufacturer. | Returns the type of keyboard in use. The hardware ID specifies the type of keyboard attached and is defined by the manufacturer. | ||
- | ==Syntax== | + | ===== Syntax ===== |
+ | <code c> | ||
| | ||
+ | </ | ||
+ | |||
+ | ===== Parameters ===== | ||
+ | |||
+ | * pkbdhwid (PKBDHWID) - output : A pointer to a [[KBDHWID]] structure in which the keyboard hardware ID is returned. | ||
+ | * hkbd (HKBD) - input : Reserved. Must be 0. | ||
+ | |||
+ | ===== Return Code ===== | ||
+ | |||
+ | return (APIRET) - returns | ||
+ | |||
+ | KbdGetHWID returns one of the following values: | ||
- | ==Parameters== | + | * 0 |
- | ;pkbdhwid (PKBDHWID) - output : Pointer to hardware ID. | + | * 373 ERROR_KBD_PARAMETER |
- | :A pointer to a [[KBDHWID]] structure in which the keyboard hardware ID is returned. | + | * 439 ERROR_KBD_INVALID_HANDLE |
- | ;hkbd (HKBD) - input : Reserved. Must be 0. | + | * 447 ERROR_KBD_KEYBOARD_BUSY |
+ | * 504 ERROR_KBD_EXTENDED_SG | ||
- | ==Return Code== | + | ===== Remarks ===== |
- | ;return (APIRET) - returns: | + | |
- | * 0 | + | |
- | * 373 ERROR_KBD_PARAMETER | + | |
- | * 439 ERROR_KBD_INVALID_HANDLE | + | |
- | * 447 ERROR_KBD_KEYBOARD_BUSY | + | |
- | * 504 ERROR_KBD_EXTENDED_SG | + | |
- | ==Remarks== | ||
The hardware ID indicates the basic layout of the keyboard, such as whether or not a numeric keypad exists. It gives no information about key values. | The hardware ID indicates the basic layout of the keyboard, such as whether or not a numeric keypad exists. It gives no information about key values. | ||
- | [[Category:Kbd]] | + | {{page> |