ITfKeystrokeMgr::UnadviseKeyEventSink method (msctf.h)

Removes a key event sink.

Syntax

HRESULT UnadviseKeyEventSink(
  [in] TfClientId tid
);

Parameters

[in] tid

Identifier of the client that owns the key event sink. This value was passed when the advise sink was installed using ITfKeystrokeMgr::AdviseKeyEventSink.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
The tid parameter is invalid.
CONNECT_E_NOCONNECTION
The advise sink identified by tid was not 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

ITfKeystrokeMgr

ITfKeystrokeMgr::AdviseKeyEventSink