ITfSource::UnadviseSink method (msctf.h)

Uninstalls an advise sink.

Syntax

HRESULT UnadviseSink(
  [in] DWORD dwCookie
);

Parameters

[in] dwCookie

A DWORD that identifies the advise sink to uninstall. This value is provided by a previous call to ITfSource::AdviseSink.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
The dwCookie value is invalid.
CONNECT_E_NOCONNECTION
The advise sink cannot be found.

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

See also

ITfSource

ITfSource::AdviseSink