msctf: Use correct sink for ITfThreadFocusSink.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7e6a4b2bf5
commit
7ebe59b922
|
@ -30,6 +30,7 @@
|
|||
#define COOKIE_MAGIC_EDITCOOKIE 0x0050
|
||||
#define COOKIE_MAGIC_COMPARTMENTSINK 0x0060
|
||||
#define COOKIE_MAGIC_DMSINK 0x0070
|
||||
#define COOKIE_MAGIC_THREADFOCUSSINK 0x0080
|
||||
|
||||
extern DWORD tlsIndex DECLSPEC_HIDDEN;
|
||||
extern TfClientId processId DECLSPEC_HIDDEN;
|
||||
|
|
|
@ -618,7 +618,7 @@ static HRESULT WINAPI ThreadMgrSource_AdviseSink(ITfSource *iface,
|
|||
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);
|
||||
return advise_sink(&This->ThreadFocusSink, &IID_ITfThreadFocusSink, COOKIE_MAGIC_THREADFOCUSSINK, punk, pdwCookie);
|
||||
}
|
||||
|
||||
FIXME("(%p) Unhandled Sink: %s\n",This,debugstr_guid(riid));
|
||||
|
|
Loading…
Reference in New Issue