msctf: Added IID_ITfThreadFocusSink support to AdviseSink.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2016-09-05 13:57:54 +02:00 committed by Alexandre Julliard
parent d36ae568c1
commit 63859e382f
1 changed files with 6 additions and 0 deletions

View File

@ -615,6 +615,12 @@ static HRESULT WINAPI ThreadMgrSource_AdviseSink(ITfSource *iface,
if (IsEqualIID(riid, &IID_ITfThreadMgrEventSink))
return advise_sink(&This->ThreadMgrEventSink, &IID_ITfThreadMgrEventSink, COOKIE_MAGIC_TMSINK, punk, pdwCookie);
if (IsEqualIID(riid, &IID_ITfThreadFocusSink))
{
WARN("semi-stub for ITfThreadFocusSink: sink won't be used.\n");
return advise_sink(&This->ThreadMgrEventSink, &IID_ITfThreadMgrEventSink, COOKIE_MAGIC_TMSINK, punk, pdwCookie);
}
FIXME("(%p) Unhandled Sink: %s\n",This,debugstr_guid(riid));
return E_NOTIMPL;
}