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::IsThreadFocus method

Determines if the calling thread has the TSF input focus.

Syntax


HRESULT IsThreadFocus(
  [out] BOOL *pfThreadFocus
);

Parameters

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.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_INVALIDARG

pfThreadFocus is invalid.

 

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