ITfThreadMgr2::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 |
---|---|
|
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | msctf.h |