ITfThreadMgr2::GetActiveFlags method

Gets the active flags of the calling thread.

Syntax


HRESULT GetActiveFlags(
  [out]  DWORD *lpdwFlags
);

Parameters

lpdwFlags [out]

The pointer to the DWORD value to receives the active flags of TSF.

ValueMeaning
TF_TMF_NOACTIVATETIP

TSF was activated with the TF_TMAE_NOACTIVATETIP flag.

TF_TMF_SECUREMODE

TSF is running as secure mode.

TF_TMF_UIELEMENTENABLEDONLY

TSF is running with text services that support only UIElement.

TF_TMF_COMLESS

TSF is running without COM.

TF_TMF_WOW16

TSF is running in 16bit task.

TF_TMF_CONSOLE

TSF is running for console.

TF_TMF_IMMERSIVEMODE

TSF is active in a Windows Store app.

TF_TMF_ACTIVATED

TSF is active.

 

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_FAIL

An unspecified error occurred.

E_INVALIDARG

One or more parameters are 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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft