ITfInputProcessorProfiles::EnumLanguageProfiles method (msctf.h)

Obtains an enumerator that contains all of the profiles for a specific language.

Syntax

HRESULT EnumLanguageProfiles(
  [in]  LANGID                  langid,
  [out] IEnumTfLanguageProfiles **ppEnum
);

Parameters

[in] langid

Contains a LANGID value that specifies the language to obtain an enumerator for.

[out] ppEnum

Pointer to an IEnumTfLanguageProfiles interface pointer that receives the enumerator object.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
No corresponding language profile was found in the operating system.
 
-or-
 
An unspecified error occurred.
E_INVALIDARG
ppEnum is invalid.
E_OUTOFMEMORY
A memory allocation failure occurred.

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

See also

IEnumTfLanguageProfiles

ITfInputProcessorProfiles