iTfInputProcessorProfiles 接口 (msctf.h)

ITfInputProcessorProfiles 接口由 TSF 管理器实现,并由应用程序或文本服务用来操作一个或多个文本服务的语言配置文件。

继承

ITfInputProcessorProfiles 接口继承自 IUnknown 接口。 ITfInputProcessorProfiles 还具有以下类型的成员:

方法

ITfInputProcessorProfiles 接口包含以下方法。

 
ITfInputProcessorProfiles::ActivateLanguageProfile

ITfInputProcessorProfiles::ActivateLanguageProfile 方法
ITfInputProcessorProfiles::AddLanguageProfile

ITfInputProcessorProfiles::AddLanguageProfile 方法
ITfInputProcessorProfiles::ChangeCurrentLanguage

ITfInputProcessorProfiles::ChangeCurrentLanguage 方法
ITfInputProcessorProfiles::EnableLanguageProfile

ITfInputProcessorProfiles::EnableLanguageProfile 方法
ITfInputProcessorProfiles::EnableLanguageProfileByDefault

ITfInputProcessorProfiles::EnableLanguageProfileByDefault 方法
ITfInputProcessorProfiles::EnumInputProcessorInfo

ITfInputProcessorProfiles::EnumInputProcessorInfo 方法
ITfInputProcessorProfiles::EnumLanguageProfiles

ITfInputProcessorProfiles::EnumLanguageProfiles 方法
ITfInputProcessorProfiles::GetActiveLanguageProfile

ITfInputProcessorProfiles::GetActiveLanguageProfile 方法
ITfInputProcessorProfiles::GetCurrentLanguage

ITfInputProcessorProfiles::GetCurrentLanguage 方法
ITfInputProcessorProfiles::GetDefaultLanguageProfile

ITfInputProcessorProfiles::GetDefaultLanguageProfile 方法
ITfInputProcessorProfiles::GetLanguageList

ITfInputProcessorProfiles::GetLanguageList 方法
ITfInputProcessorProfiles::GetLanguageProfileDescription

ITfInputProcessorProfiles::GetLanguageProfileDescription 方法
ITfInputProcessorProfiles::IsEnabledLanguageProfile

ITfInputProcessorProfiles::IsEnabledLanguageProfile 方法
ITfInputProcessorProfiles::Register

ITfInputProcessorProfiles::Register 方法
ITfInputProcessorProfiles::RemoveLanguageProfile

ITfInputProcessorProfiles::RemoveLanguageProfile 方法
ITfInputProcessorProfiles::SetDefaultLanguageProfile

ITfInputProcessorProfiles::SetDefaultLanguageProfile 方法
ITfInputProcessorProfiles::SubstituteKeyboardLayout

ITfInputProcessorProfiles::SubstituteKeyboardLayout 方法
ITfInputProcessorProfiles::Unregister

ITfInputProcessorProfiles::Unregister 方法

注解

若要获取指向此接口的指针,请使用 CLSID_TF_InputProcessorProfiles 调用 CoCreateInstance

示例

ITfInputProcessorProfiles


HRESULT hr;
ITfInputProcessorProfiles *pProfiles;

//Create the object. 
hr = CoCreateInstance(  CLSID_TF_InputProcessorProfiles, 
                        NULL, 
                        CLSCTX_INPROC_SERVER, 
                        IID_ITfInputProcessorProfiles, 
                        (LPVOID*)&pProfiles);

if(SUCCEEDED(hr))
{
    //Use the interface. 

    //Release the interface. 
    pProfiles->Release();
}

要求

要求
最低受支持的客户端 Windows 2000 Professional [仅限桌面应用]
最低受支持的服务器 Windows 2000 Server [仅限桌面应用]
目标平台 Windows
标头 msctf.h
可再发行组件 Windows 2000 专业版上的 TSF 1.0