Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Obtains the specified function provider object.
Syntax
HRESULT GetFunctionProvider(
[in] REFCLSID clsid,
[out] ITfFunctionProvider **ppFuncProv
);
Parameters
[in] clsid
CLSID of the desired function provider. This can be the CLSID of a function provider registered for the calling thread or one of the following predefined values.
[out] ppFuncProv
Pointer to a ITfFunctionProvider interface that receives the function provider.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
No function provider matching clsid was available. |
|
GUID_SYSTEM_FUNCTIONPROVIDER was requested, but cannot be obtained. |
Remarks
A function provider registers 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 |