Skip to content

Latest commit

 

History

History
96 lines (82 loc) · 2.44 KB

nf-msctf-itfthreadmgr2-isthreadfocus.md

File metadata and controls

96 lines (82 loc) · 2.44 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.IsThreadFocus
ITfThreadMgr2::IsThreadFocus (msctf.h)
Determines if the calling thread has the TSF input focus.
ITfThreadMgr2 interface [Text Services Framework]
IsThreadFocus method
ITfThreadMgr2.IsThreadFocus
ITfThreadMgr2::IsThreadFocus
IsThreadFocus
IsThreadFocus method [Text Services Framework]
IsThreadFocus method [Text Services Framework]
ITfThreadMgr2 interface
msctf/ITfThreadMgr2::IsThreadFocus
tsf.itfthreadmgr2_isthreadfocus
tsf\itfthreadmgr2_isthreadfocus.htm
TSF
8440BEE8-865F-4403-8558-C77638290A7F
12/05/2018
ITfThreadMgr2 interface [Text Services Framework],IsThreadFocus method, ITfThreadMgr2.IsThreadFocus, ITfThreadMgr2::IsThreadFocus, IsThreadFocus, IsThreadFocus method [Text Services Framework], IsThreadFocus method [Text Services Framework],ITfThreadMgr2 interface, msctf/ITfThreadMgr2::IsThreadFocus, tsf.itfthreadmgr2_isthreadfocus
msctf.h
Windows
Windows 8 [desktop apps \| UWP apps]
Windows Server 2012 [desktop apps \| UWP apps]
Msctf.idl
Windows
19H1
ITfThreadMgr2::IsThreadFocus
msctf/ITfThreadMgr2::IsThreadFocus
c++
APIRef
kbSyntax
COM
msctf.h
ITfThreadMgr2.IsThreadFocus

ITfThreadMgr2::IsThreadFocus

-description

Determines if the calling thread has the TSF input focus.

-parameters

-param pfThreadFocus [out]

Pointer to a BOOL that receives a value that indicates if the calling thread has input focus. This parameter receives a nonzero value if the calling thread has the focus or zero otherwise.

-returns

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
pfThreadFocus is invalid.

-see-also

ITfThreadMgr2