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.
| Value | Description |
|---|---|
|
The method was successful. |
|
ppEnum is invalid. |
|
A memory allocation failure occurred. |
|
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 |
|
|
IDL |
|
See also