ITfLangBarItemMgr::UnadviseItemSink method (ctfutb.h)

Removes a language bar item event sink.

Syntax

HRESULT UnadviseItemSink(
  [in] DWORD dwCookie
);

Parameters

[in] dwCookie

Contains a DWORD that identifies the advise sink to remove. This cookie is obtained when the advise sink is installed with ITfLangBarItemMgr::AdviseItemSink or ITfLangBarItemMgr::AdviseItemsSink.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
An unspecified error occurred.

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 ctfutb.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfLangBarItemMgr

ITfLangBarItemMgr::AdviseItemSink

ITfLangBarItemMgr::AdviseItemsSink