ITfInputProcessorProfiles::ChangeCurrentLanguage method (msctf.h)

Sets the currently active language.

Syntax

HRESULT ChangeCurrentLanguage(
  [in] LANGID langid
);

Parameters

[in] langid

Contains the LANGID of the language to make active.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
An unspecified error occurred.
E_INVALIDARG
langid is an invalid language identifier.
E_OUTOFMEMORY
A memory allocation failure occurred.
E_UNEXPECTED
No thread manager was created for the calling thread.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional