Text Services Framework
Developer(s)Microsoft
Operating systemMicrosoft Windows
PlatformIA-32, x86-64, Itanium, ARM64
PredecessorInput Method Manager (IMM32)
TypeSoftware framework
Websitedocs.microsoft.com/en-us/windows/win32/tsf/text-services-framework

The Text Services Framework (TSF) is a COM framework and API in Windows XP and later Windows operating systems that supports advanced text input and text processing. The Language Bar is the core user interface for Text Services Framework.

Overview

The Text Services Framework is designed to offer advanced language and word processing features to applications. It supports features such as multilingual support, keyboard drivers, handwriting recognition, speech recognition, as well as spell checking and other text and natural language processing functions. It is also downloadable for older Windows operating systems.[1]

The Language Bar enables text services to add UI elements to the toolbar and enables these elements when an application has focus. From the Language Bar, users can select the input language, and control keyboard input, handwriting recognition and speech recognition.

The language bar also provides a direct means to switch between installed languages, even when a non-TSF-enabled application has focus.

Starting with Windows XP Tablet PC Edition 2005 and Windows Vista, the RichEdit control supports the Text Services Framework. Windows Speech Recognition in Windows Vista is also implemented using the Text Services Framework.

Language bar tools – From left: Language selection menu, spell checking, keyboard layout selection menu, speech recognition, tools, handwriting recognition and drawing pad

Features

ctfmon and CTF

ctfmon (ctfmon.exe) is a process used to activate the Alternative User Input Text Input Processor (TIP) and also the Microsoft Language Bar. Ctfmon is also a component of Windows XP Tablet PC Edition, Windows Vista and Windows 7 which enables advanced user input services in applications (pen and ink, speech etc.).[4]

CTF is an undocumented, insecure protocol involved in TSF which security researchers have observed to be present in Windows versions back to Windows XP.[5][6]

References

  1. ^ "Download: Platform SDK Redistributable: Microsoft Windows Text Services Framework Redist files". Archived from the original on July 13, 2012. Retrieved July 25, 2018.
  2. ^ "What is Text Services Framework?". May 31, 2018. Retrieved July 25, 2018.
  3. ^ a b c "Why Use Text Services Framework?". May 31, 2018. Retrieved July 25, 2018.
  4. ^ "Frequently asked questions about Ctfmon.exe". Archived from the original on 19 October 2004.
  5. ^ "Vulnerability in Microsoft CTF protocol goes back to Windows XP". ZDNet. Retrieved August 13, 2019.
  6. ^ "Down the Rabbit Hole". Google Project Zero. 13 August 2019. Retrieved August 13, 2019.