i use win7 64bit, local language is chinese.
some input use ime, and some input use tsf.
i want use LoadKeyboardLayout() to active a special keyboard layout sometimes, but when call GetKeyboardLayoutName(), the tsf input and default ime return same keyboard layout "0x00000804"。
so i can't active tsf input use LoadKeyboardLayout(), i know how to active tsf input through ITfInputProcessorProfiles interface.
but how to get current input is ime or tsf?
thanks.
When the language changes, TSF will send notifications via ITfLanguageProfileNotifySink, when the IME changes, TSF will send notifications via ItfActiveLanguageProfileNotifySink.