ITfMouseTracker::UnadviseMouseSink method (msctf.h)

Uninstalls a mouse event sink.

Syntax

HRESULT UnadviseMouseSink(
  [in] DWORD dwCookie
);

Parameters

[in] dwCookie

Specifies the mouse advise sink identifier. This value is obtained by a call to ITfMouseTracker::AdviseMouseSink.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
TF_E_DISCONNECTED
The context object is not on a document stack.
E_NOTIMPL
The context owner does not support mouse event sinks.

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

See also

ITfMouseTracker

ITfMouseTracker::AdviseMouseSink