ITfThreadMgr2::EnumFunctionProviders method

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

Syntax


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

Parameters

ppEnum [out]

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

Return value

This method can return one of these values.

ValueDescription
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 GetFunctionProvider.

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

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Msctf.h

IDL

Msctf.idl

See also

ITfThreadMgr2

 

 

Show: