ITfInputProcessorProfileMgr::EnumProfiles method (msctf.h)

The ITfInputProcessorProfileMgr::EnumProfiles method returns profiles to be enumerated.

Syntax

HRESULT EnumProfiles(
  [in]  LANGID                        langid,
  [out] IEnumTfInputProcessorProfiles **ppEnum
);

Parameters

[in] langid

[in] langid of the profiles to be enumerated. If langid is 0, all profiles will be enumerated.

[out] ppEnum

[out] The pointer to receive a pointer of IEnumTfInputProcessorProfiles interface.

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.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 R2 [desktop apps | UWP apps]
Target Platform Windows
Header msctf.h
DLL Msctf.dll