ITfThreadMgr::IsThreadFocus method (msctf.h)
Determines if the calling thread has the TSF input focus.
Syntax
HRESULT IsThreadFocus(
[out] BOOL *pfThreadFocus
);
Parameters
[out] pfThreadFocus
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.
Value | Description |
---|---|
|
The method was successful. |
|
pfThreadFocus is invalid. |
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 |