ITfThreadMgr::EnumFunctionProviders method (msctf.h)

Obtains an enumerator for all of the function providers registered for the calling thread.

Syntax

HRESULT EnumFunctionProviders(
  [out] IEnumTfFunctionProviders **ppEnum
);

Parameters

[out] ppEnum

Address of a IEnumTfFunctionProviders interface that receives the function provider enumerator.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
ppEnum is invalid.
E_OUTOFMEMORY
A memory allocation failure occurred.
E_FAIL
An unspecified error occurred.

Remarks

The enumerator only contains the registered function providers. The enumerator will not contain the predefined function providers as described in ITfThreadMgr::GetFunctionProvider.

A function provider registers itself by calling the TSF manager ITfSourceSingle::AdviseSingleSink method with IID_ITfFunctionProvider.

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

IEnumTfFunctionProviders

ITfSourceSingle::AdviseSingleSink

ITfThreadMgr

ITfThreadMgr::GetFunctionProvider