iTfInputProcessorProfileMgr 接口 (msctf.h)

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

继承

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

方法

ITfInputProcessorProfileMgr 接口包含以下方法。

 
ITfInputProcessorProfileMgr::ActivateProfile

ITfInputProcessorProfileMgr::ActivateProfile 方法激活指定文本服务的配置文件或键盘布局。
ITfInputProcessorProfileMgr::D eactivateProfile

ITfInputProcessorProfileMgr::D eactivateProfile 方法停用指定文本服务的配置文件或键盘布局。
ITfInputProcessorProfileMgr::EnumProfiles

ITfInputProcessorProfileMgr::EnumProfiles 方法返回要枚举的配置文件。
ITfInputProcessorProfileMgr::GetActiveProfile

此方法返回当前活动配置文件。
ITfInputProcessorProfileMgr::GetProfile

ITfInputProcessorProfileMgr::GetProfile 方法以TF_INPUTPROCESSORPROFILE结构返回指定文本服务的配置文件或键盘布局的信息。
ITfInputProcessorProfileMgr::RegisterProfile

ITfInputProcessorProfileMgr::RegisterProfile 方法注册文本服务和配置文件。
ITfInputProcessorProfileMgr::ReleaseInputProcessor

ITfInputProcessorProfileMgr::ReleaseInputProcessor 方法停用属于指定 CLSID 的文本服务的配置文件,并释放 ITfTextInputProcessorEx 接口的实例。
ITfInputProcessorProfileMgr::UnregisterProfile

ITfInputProcessorProfileMgr::UnregisterProfile 方法取消注册文本服务和配置文件。

注解

ITfInputProcessorProfiles 不同,ITfInputProcessorProfileMgr 可以无缝管理键盘布局和文本服务。 在 Windows Vista 中,建议使用此接口,而不是使用以下方法:

  • ITfInputProcessorProfiles::Register
  • ITfInputProcessorProfiles::Unregister
  • ITfInputProcessorProfiles::AddLanguageProfile
  • ITfInputProcessorProfiles::RemoveLanguageProfile
  • ITfInputProcessorProfiles::EnumInputProcessorInfo
  • ITfInputProcessorProfiles::ActivateLanguageProfile
  • ITfInputProcessorProfiles::GetActiveLanguageProfile
  • ITfInputProcessorProfiles::EnumLanguageProfiles

要求

要求
最低受支持的客户端 Windows Vista [桌面应用 | UWP 应用]
最低受支持的服务器 Windows Server 2003 R2 [桌面应用 |UWP 应用]
目标平台 Windows
标头 msctf.h

另请参阅

ITfInputProcessorProfiles