Speech Recognition Constants

The following values are used with the speech recognition text service.

Constant/value Description
TF_DICTATION_ON
0x00000001
If this bit is 1, speech dictation is active. Otherwise, speech dictation is inactive. This value cannot be combined with TF_COMMANDING_ON. Used with the GUID_COMPARTMENT_SPEECH_DICTATIONSTAT compartment.
TF_DICTATION_ENABLED
0x00000002
If this bit is 1, speech dictation is enabled. Otherwise, speech dictation is disabled. Used with the GUID_COMPARTMENT_SPEECH_DICTATIONSTAT compartment.
TF_COMMANDING_ENABLED
0x00000004
If this bit is 1, speech command is enabled. Otherwise, speech command is disabled. Used with the GUID_COMPARTMENT_SPEECH_DICTATIONSTAT compartment.
TF_COMMANDING_ON
0x00000008
If this bit is 1, speech command is active. Otherwise, speech command is inactive. This value cannot be combined with TF_DICTATION_ON. Used with the GUID_COMPARTMENT_SPEECH_DICTATIONSTAT compartment.
TF_SPEECHUI_SHOWN
0x00000010
Not currently used.
TF_SHOW_BALLOON
0x00000001
Not currently used. Used with the GUID_COMPARTMENT_SPEECH_UI_STATUS compartment.
TF_DISABLE_BALLOON
0x00000002
If this bit is 1, balloon display for the current speech mode is disabled. Otherwise, balloon display for the current speech mode is enabled. Used with the GUID_COMPARTMENT_SPEECH_UI_STATUS compartment.
TF_DISABLE_SPEECH
0x00000001
If this bit is 1, speech input is disabled. Otherwise, speech input is enabled. Used with the GUID_COMPARTMENT_SPEECH_DISABLED compartment.
TF_DISABLE_DICTATION
0x00000002
If this bit is 1, speech dictation is disabled. Otherwise, speech dictation is enabled. Used with the GUID_COMPARTMENT_SPEECH_DISABLED compartment.
TF_DISABLE_COMMANDING
0x00000004
If this bit is 1, speech command is disabled. Otherwise, speech command is enabled. Used with the GUID_COMPARTMENT_SPEECH_DISABLED compartment.

Requirements

Requirement Value
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
Ctffunc.h;
Msctf.h
IDL
Ctffunc.idl;
Msctf.idl

See also

Predefined Compartments