ITfSourceSingle::UnadviseSingleSink method

Syntax


HRESULT UnadviseSingleSink(
  [in]  TfClientId tid,
  [in]  REFIID riid
);

Parameters

tid [in]

Contains a TfClientId value that identifies the client.

riid [in]

Identifies the type of advise sink to uninstall. This can be one of the following values.

ValueMeaning
IID_ITfCleanupContextDurationSink

Uninstalls the ITfCleanupContextDurationSink advise sink. Applies to: Text service

IID_ITfCleanupContextSink

Uninstalls the ITfCleanupContextSink advise sink. Applies to: Text service

IID_ITfFunctionProvider

Unregisters the client as a function provider. Applies to: Text Service and Application

 

Return value

This method can return one of these values.

ValueDescription
S_OK

The advise sink was successfully uninstalled.

E_INVALIDARG

tid is invalid.

CONNECT_E_NOCONNECTION

The advise sink is not installed.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft