ITfInputProcessorProfiles::GetLanguageList method (msctf.h)

Obtains a list of the installed languages.

Syntax

HRESULT GetLanguageList(
  [out] LANGID **ppLangId,
  [out] ULONG  *pulCount
);

Parameters

[out] ppLangId

Pointer to a LANGID pointer that receives the array of identifiers of the currently installed languages. The number of identifiers placed in this array is supplied in pulCount. The array is allocated by this method. The caller must free this memory when it is no longer required using CoTaskMemFree.

[out] pulCount

Pointer to a ULONG value the receives the number of identifiers placed in the array at ppLangId.

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
One or more parameters are invalid.
E_OUTOFMEMORY
A memory allocation failure occurred.

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

See also

CoTaskMemFree

ITfInputProcessorProfiles