ITfMouseTrackerACP::UnadviseMouseSink method (msctf.h)

Called to remove 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 ITfMouseTrackerACP::AdviseMouseSink.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_NOTIMPL
The application does not support mouse event sinks.

Remarks

The application must release the ITfMouseSink supplied in the ITfMouseTrackerACP::AdviseMouseSink call associated with dwCookie.

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

ITfMouseSink

ITfMouseTrackerACP

ITfMouseTrackerACP::AdviseMouseSink