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.

ITfTextInputProcessorEx::ActivateEx method

The ITfTextInputProcessorEx::ActivateEx method activates a text service when a user session starts. If the text service implements ITfTextInputProcessorEx and ActivateEx is called, ITfTextInputProcessor::Activate will not be called.

Syntax


HRESULT ActivateEx(
  [in] ITfThreadMgr *ptim,
  [in] TfClientId   tid,
  [in] DWORD        dwFlags
);

Parameters

ptim [in]

[in] Pointer to the ITfThreadMgr interface for the thread manager that owns the text service.

tid [in]

[in] Specifies the client identifier for the text service.

dwFlags [in]

[in] The combination of the following bits:

ValueMeaning
TF_TMAE_SECUREMODE

A text service is activated as secure mode. A text service may not want to show the setting dialog box.

TF_TMAE_COMLESS

A text service is activated as com less mode. TSF was activated without COM. COM may not be initialized or COM may be initialized as MTA.

TF_TMAE_WOW16

The current thread is 16 bit task.

TF_TMAE_CONSOLE

A text service is activated for console usage.

 

Return value

The TSF manager ignores the return value of this method.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

 

 

Show:
© 2017 Microsoft