Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
TSF Reference
TSF Constants
 Predefined Compartments
Predefined Compartments

The following values identify compartments implemented by Text Services Framework.

The following compartment identifiers are defined in Ctffunc.idl and Ctffunc.h.

FlagValueDescription
GUID_COMPARTMENT_SAPI_AUDIOVT_I4A DWORD that is zero if the Speech API (SAPI) audio is off or non-zero if the SAPI audio is on. This compartment is specific to a thread manager object.
GUID_COMPARTMENT_SPEECH_CFGMENUVT_I4A DWORD that is zero if the speech configuration menu is unavailable or non-zero if the speech configuration menu is available. This compartment is specific to a thread manager object.
GUID_COMPARTMENT_SPEECH_DICTATIONSTATVT_I4A DWORD value that contains zero or a combination of one or more of the TF_DICTATION_ENABLED, TF_COMMANDING_ENABLED, TF_DICTATION_ON or TF_COMMANDING_ON values. This compartment is specific to a thread manager object.
GUID_COMPARTMENT_SPEECH_UI_STATUSVT_I4A DWORD value that contains zero or a combination of one or more of the TF_SHOW_BALLOON or TF_DISABLE_BALLOON values. This is a global compartment.

 

The following compartment identifiers are defined in MSCTF.IDL and MSCTF.H.

FlagValueDescription
GUID_COMPARTMENT_EMPTYCONTEXTVT_I4A DWORD that is non-zero if the context is empty or zero otherwise. This compartment is specific to a context object.
GUID_COMPARTMENT_HANDWRITING_OPENCLOSEVT_I4A DWORD that is non-zero if the handwriting recognition is open or zero if the handwriting recognition is closed. This compartment is specific to a thread manager object.
GUID_COMPARTMENT_KEYBOARD_DISABLEDVT_I4A DWORD that is non-zero if the keyboard is disabled or zero otherwise. This compartment is specific to a context object.
GUID_COMPARTMENT_KEYBOARD_INPUTMODE_CONVERSIONVT_I4A DWORD value of the proper combination of TF_CONVERSIONMODE_ flags. This compartment is specific to a thread manager object.
GUID_COMPARTMENT_KEYBOARD_INPUTMODE_SENTENCEVT_I4A DWORD value of TF_SENTENCEMODE_. This compartment is specific to a thread manager object.
GUID_COMPARTMENT_KEYBOARD_OPENCLOSEVT_I4A DWORD that is non-zero if the keyboard is open or zero if the keyboard is closed. This compartment is specific to a thread manager object.
GUID_COMPARTMENT_PERSISTMENUENABLEDVT_I4A DWORD that is non-zero to cause the speech text service to enable the Save Speech Data menu item or zero to disable it. This compartment is specific to a document manager object.
GUID_COMPARTMENT_SPEECH_DISABLEDVT_I4A DWORD that contains zero or a combination of one or more of the TF_DISABLE_SPEECH, TF_DISABLE_DICTATION or TF_DISABLE_COMMANDING values. This compartment is specific to a thread manager object.
GUID_COMPARTMENT_SPEECH_OPENCLOSEVT_I4A DWORD that is non-zero if speech input is active or zero if speech input is inactive. This is a global compartment.
GUID_COMPARTMENT_TIPUISTATUSVT_I4Not currently used.
GUID_COMPARTMENT_TRANSITORYEXTENSIONVT_I4A DWORD value of TF_TRANSITORYEXTENSION_NONE, TF_TRANSITORYEXTENSION_FLOATING or TF_TRANSITORYEXTENSION_ATSELECTION. This compartment is specific to a document manager object.
GUID_COMPARTMENT_TRANSITORYEXTENSION_DOCUMENTMANAGERVT_I4An IUnknown value for the ITfDocumentMgr interface that refers the transitory document of this document manager. This compartment is specific to a document manager object.
GUID_COMPARTMENT_TRANSITORYEXTENSION_PARENTVT_I4An IUnknown value for the ITfDocumentMgr interface that refers the parent document manager of this transitory document. This compartment is specific to a document manager object.

 

Requirements

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
RedistributableTSF 1.0 onWindows NT 4.0,Windows 2000 ProfessionalandWindows MeWindows 98
HeaderCtffunc.idl or Mstctf.idl and Ctffunc.h or Mstctf.h

See Also

Speech Recognition Constants

Send comments about this topic to Microsoft

Build date: 7/14/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker