Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
Windows Mobile Supported Windows Embedded CE Supported
4/14/2010

This function is a prototype of a function that returns the current input locale identifier.

Syntax

typedef HKL (*PFN_LAYOUT_MGR_GET_KEYBOARD_LAYOUT)(
  DWORD 
idThread
);

Parameters

idThread

[in] Set to zero.

Return Value

If successful, this function returns the current input locale identifier. Otherwise, it returns zero.

Remarks

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

Requirements

Header keybddr.h
Library layoutmanager.lib
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Concepts

Layout Manager

Other Resources

GetKeyboardLayout