Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The ITfThreadMgrEx::GetActiveFlags method returns the flags TSF is active with.
Syntax
HRESULT GetActiveFlags(
  [out] DWORD *lpdwFlags
);
Parameters
[out] lpdwFlags
The pointer to the DWORD value to receives the active flags of TSF.
| Value | Meaning | 
|---|---|
| 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 | Starting with Windows 8: TSF is active in a Windows Store app. | 
| TF_TMF_ACTIVATED | TSF is active. | 
Return value
This method can return one of these values.
| Value | Description | 
|---|---|
  | 
The method was successful. | 
  | 
An unspecified error occurred. | 
  | 
One or more parameters are 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 |