|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
GetKeyboardType
The
GetKeyboardType function retrieves information about the current keyboard.
int GetKeyboardType(
int nTypeFlag
| // type of information to retrieve
|
);
|
|
Parameters
nTypeFlag
Specifies the type of keyboard information to be retrieved. This parameter can
be one of the following values:
Value
| Meaning
|
0
| Keyboard type
|
-
| Keyboard subtype
|
-
| Number of function keys on the keyboard
|
Return Values
If the function succeeds, the return value specifies the requested
information.
If the function fails, the return value is zero.
Remarks
The subtype is an original equipment manufacturer (OEM)-dependent value. The
type may be one of the following values:
Value
| Meaning
|
-
| IBM PC/XT or compatible (83-key) keyboard
|
-
| Olivetti "ICO" (102-key) keyboard
|
-
| IBM PC/AT (84-key) or similar keyboard
|
-
| IBM enhanced (101- or 102-key) keyboard
|
-
| Nokia 1050 and similar keyboards
|
-
| Nokia 9140 and similar keyboards
|
-
| Japanese keyboard
|
The application can also determine the number of function keys on a keyboard
from the keyboard type. Following are the number of function keys for each
keyboard type:
Type
| Number of function keys
|
-
| 10
|
-
| 12 (sometimes 18)
|
-
| 10
|
-
| 12
|
-
| 10
|
-
| 24
|
-
| Hardware dependent and specified by the OEM
|
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database