ITfSourceSingle::UnadviseSingleSink method (msctf.h)
Uninstalls an advise sink.
Syntax
HRESULT UnadviseSingleSink(
[in] TfClientId tid,
[in] REFIID riid
);
Parameters
[in] tid
Contains a TfClientId value that identifies the client.
[in] riid
Identifies the type of advise sink to uninstall. This can be one of the following values.
Value | Meaning |
---|---|
|
Uninstalls the ITfCleanupContextDurationSink advise sink. Applies to: Text service |
|
Uninstalls the ITfCleanupContextSink advise sink. Applies to: Text service |
|
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
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 |