ITfThreadMgr::Deactivate method (msctf.h)

Deactivates TSF for the calling thread.

Syntax

HRESULT Deactivate();

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_UNEXPECTED
This method was called while the thread was activating or this call had no corresponding ITfThreadMgr::Activate call.

Remarks

Each call to this method must be matched with a previous call to ITfThreadMgr::Activate . This method must be called from the same thread that the corresponding ITfThreadMgr::Activate call was made from.

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

See also

ITfThreadMgr

ITfThreadMgr::Activate