Compartir a través de


PFN_LAYOUT_MGR_GET_KEYBOARD_TYPE (Windows CE 5.0)

Send Feedback

This function is a prototype of a function that retrieves information about the current keyboard.

typedef int (*PFN_LAYOUT_MGR_GET_KEYBOARD_TYPE)(  int nTypeFlag);

Parameters

  • nTypeFlag
    [in] Keyboard information to retrieve.

    The following table shows the values and the corresponding information they retrieve.

    Value Description
    0 Keyboard type
    1 Keyboard subtype
    2 Number of function keys

Return Values

If the function succeeds, the return value specifies the requested information. If the function fails and nTypeFlag is not 1, the return value is zero; zero is a valid return value when nTypeFlag is 1. To obtain extended error information, call GetLastError.

Remarks

This function must be re-entrant because the input system exposes it through the GetKeyboardType function and multiple threads can call it.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Keybddr.h.
Link Library: LayoutManager.lib.

See Also

Layout Manager | GetKeyboardType

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.