Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GetKeyboardType

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function retrieves information about the current keyboard.


int GetKeyboardType(
  int nTypeFlag
);

nTypeFlag

[in] Type of keyboard information to be retrieved. The following table shows the possible values for this parameter. You can choose only one.

Value Description

0

Keyboard type.

1

Keyboard subtype.

2

Number of function keys on the keyboard.

If the function succeeds, the return value specifies the requested information.

If the function fails and nTypeFlag is not one, the return value is zero; zero is a valid return value when nTypeFlag is one, which specifies a keyboard subtype.

To obtain extended error information, call GetLastError.

These values are based on the current input language and are used by the RDP client.

The following table shows how Windows Embedded CE supported keyboards map to types and subtypes.

Keyboard Type Subtype

US

4

0

Jpn1

7

2

Jpn2

7

2

Kor

8

3

Headerwinuser.h
Librarycoredll.lib
Windows Embedded CEWindows CE .NET 4.2 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2015 Microsoft