ITfFunctionProvider::GetFunction method (msctf.h)
Obtains the specified function object.
Syntax
HRESULT GetFunction(
[in] REFGUID rguid,
[in] REFIID riid,
[out] IUnknown **ppunk
);
Parameters
[in] rguid
Contains a GUID value that identifies the function group that the requested function belongs to. This value can be GUID_NULL.
[in] riid
Contains an interface identifier that identifies the requested function within the group specified by rguid. This value can be specified by the application, text service, or one of the IID_ITfFn* values.
[out] ppunk
Pointer to an IUnknown interface pointer that receives the requested function interface.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
The requested function is unsupported. |
|
A memory allocation failure occurred. |
|
One or more parameters are invalid. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | msctf.h |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |