Skip to content

Latest commit

 

History

History
111 lines (94 loc) · 2.58 KB

nf-msctf-itfthreadmgr2-activate.md

File metadata and controls

111 lines (94 loc) · 2.58 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:msctf.ITfThreadMgr2.Activate
ITfThreadMgr2::Activate (msctf.h)
Activates TSF for the calling thread.
Activate
Activate method [Text Services Framework]
Activate method [Text Services Framework]
ITfThreadMgr2 interface
ITfThreadMgr2 interface [Text Services Framework]
Activate method
ITfThreadMgr2.Activate
ITfThreadMgr2::Activate
msctf/ITfThreadMgr2::Activate
tsf.itfthreadmgr2_activate
tsf\itfthreadmgr2_activate.htm
TSF
FD1548F5-15F6-4BBC-A7D1-B0F4B881D9F8
12/05/2018
Activate, Activate method [Text Services Framework], Activate method [Text Services Framework],ITfThreadMgr2 interface, ITfThreadMgr2 interface [Text Services Framework],Activate method, ITfThreadMgr2.Activate, ITfThreadMgr2::Activate, msctf/ITfThreadMgr2::Activate, tsf.itfthreadmgr2_activate
msctf.h
Windows
Windows 8 [desktop apps \| UWP apps]
Windows Server 2012 [desktop apps \| UWP apps]
Msctf.idl
Windows
19H1
ITfThreadMgr2::Activate
msctf/ITfThreadMgr2::Activate
c++
APIRef
kbSyntax
COM
msctf.h
ITfThreadMgr2.Activate

ITfThreadMgr2::Activate

-description

Activates TSF for the calling thread.

-parameters

-param ptid [out]

Pointer to a TfClientId value that receives a client identifier.

-returns

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
ptid is invalid.
E_UNEXPECTED
This method was called while the thread was deactivated.

-remarks

This method can be called more than once from a thread, but each call must be matched with a corresponding call to Deactivate from the same thread.

-see-also

ITfThreadMgr2