Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITfThreadMgr2::Deactivate method

Deactivates TSF for the calling thread.

Syntax


HRESULT Deactivate();

Parameters

This method has no parameters.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_UNEXPECTED

This method was called while the thread was activated or this call had no corresponding Activate call.

 

Remarks

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

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Msctf.h

IDL

Msctf.idl

See also

ITfThreadMgr2

 

 

Show:
© 2017 Microsoft