ITfSourceSingle::UnadviseSingleSink method
Syntax
HRESULT UnadviseSingleSink( [in] TfClientId tid, [in] REFIID riid );
Parameters
- tid [in]
-
Contains a TfClientId value that identifies the client.
- riid [in]
-
Identifies the type of advise sink to uninstall. This can be one of the following values.
Value Meaning - IID_ITfCleanupContextDurationSink
Uninstalls the ITfCleanupContextDurationSink advise sink. Applies to: Text service
- IID_ITfCleanupContextSink
Uninstalls the ITfCleanupContextSink advise sink. Applies to: Text service
- IID_ITfFunctionProvider
Unregisters the client as a function provider. Applies to: Text Service and Application
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The advise sink was successfully uninstalled. |
|
tid is invalid. |
|
The advise sink is not installed. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Redistributable |
TSF 1.0 on Windows 2000 Professional |
|
Header |
|
|
IDL |
|
|
DLL |
|