Flags for Conversion Mode

The following flags are used as a value of GUID_COMPARTMENT_KEYBOARD_INPUTMODE_CONVERSION. This is equivalent with IME_CMODE values for IMM32.

Flag Value Description
TF_CONVERSIONMODE_ALPHANUMERIC 0x0000 Set to 1 if ALPHANUMERIC mode.
TF_CONVERSIONMODE_NATIVE 0x0001 Set to 1 if NATIVE mode; 0 if ALPHANUMERIC mode.
TF_CONVERSIONMODE_KATAKANA 0x0002 Set to 1 if KATAKANA mode; 0 if HIRAGANA mode.
TF_CONVERSIONMODE_FULLSHAPE 0x0008 Set to 1 if full shape mode; 0 if half shape mode.
TF_CONVERSIONMODE_ROMAN 0x0010 Set to 1 to prevent processing of conversions by IME; 0 if not.
TF_CONVERSIONMODE_CHARCODE 0x0020 Set to 1 if character code input mode; 0 if not.
TF_CONVERSIONMODE_SOFTKEYBOARD 0x0080 Set to 1 if Soft Keyboard mode; 0 if not.
TF_CONVERSIONMODE_NOCONVERSION 0x0100 Set to 1 to prevent processing of conversions by IME; 0 if not.
TF_CONVERSIONMODE_SYMBOL 0x0400 Set to 1 if SYMBOL conversion mode; 0 if not.
TF_CONVERSIONMODE_FIXED 0x0800 Set to 1 if fixed conversion mode; 0 if not.

The following values are used as a value of GUID_COMPARTMENT_KEYBOARD_INPUTMODE_SENTENCE. This is equivalent with IME_SMODE values for IMM32.

Flag Value Description
TF_SENTENCEMODE_NONE 0x0000 No information for sentence.
TF_SENTENCEMODE_PLAURALCLAUSE 0x0001 The IME uses plural clause information to carry out conversion processing.
TF_SENTENCEMODE_SINGLECONVERT 0x0002 The IME carries out conversion processing in single-character mode.
TF_SENTENCEMODE_AUTOMATIC 0x0004 The IME carries out conversion processing in automatic mode.
TF_SENTENCEMODE_PHRASEPREDICT 0x0008 The IME uses phrase information to predict the next character.
TF_SENTENCEMODE_CONVERSATION 0x0010 The IME uses conversation mode. This is useful for chat applications.

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Redistributable
TSF 1.0 onWindows NT 4.0,Windows 2000 ProfessionalandWindows MeWindows 98
Header
Ctffunc.h
IDL
Ctffunc.idl

See also

Predefined Compartments