ITfInputProcessorProfiles::GetCurrentLanguage method (msctf.h)

Obtains the identifier of the currently active language.

Syntax

HRESULT GetCurrentLanguage(
  [out] LANGID *plangid
);

Parameters

[out] plangid

Pointer to a LANGID value that receives the language identifier of the currently active language.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
plangid is invalid.

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