ITfInputProcessorProfiles::ChangeCurrentLanguage method

Syntax

HRESULT ChangeCurrentLanguage(
  LANGID langid
);

Parameters

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

   
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