ITfThreadMgr::Activate method (msctf.h)
Activates TSF for the calling thread.
Syntax
HRESULT Activate(
[out] TfClientId *ptid
);
Parameters
[out] ptid
Pointer to a TfClientId value that receives a client identifier.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
ptid is invalid. |
|
This method was called while the thread was deactivating. |
Remarks
This method can be called more than once from a thread, but each call must be matched with a corresponding call to ITfThreadMgr::Deactivate from the same thread.
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 |