ITfInputProcessorProfileMgr::UnregisterProfile 方法 (msctf.h)
ITfInputProcessorProfileMgr::UnregisterProfile 方法取消注册文本服务和配置文件。
语法
HRESULT UnregisterProfile(
[in] REFCLSID rclsid,
[in] LANGID langid,
[in] REFGUID guidProfile,
[in] DWORD dwFlags
);
parameters
[in] rclsid
[in]文本服务的 CLSID。
[in] langid
[in]配置文件的语言 ID。
[in] guidProfile
[in]用于标识配置文件的 GUID。
[in] dwFlags
[in]以下位的组合:
值 | 含义 |
---|---|
|
如果此位处于打开位置, 则 UnregistrProfile 会注销 rclsid 参数的所有配置文件。 忽略 langid 和 guidProfile 参数。 |
|
配置文件已在本地进程中注册。 |
|
配置文件已在本地线程上注册。 |
返回值
此方法可以返回其中一个值。
值 | 说明 |
---|---|
|
方法成功。 |
|
发生了未指定的错误。 |
|
一个或多个参数无效。 |
要求
最低受支持的客户端 | Windows Vista [桌面应用 | UWP 应用] |
最低受支持的服务器 | Windows Server 2003 R2 [桌面应用 |UWP 应用] |
目标平台 | Windows |
标头 | msctf.h |
DLL | Msctf.dll |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈