mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
msctf: Implement ITfInputProcessorProfiles::Unregister.
This commit is contained in:
parent
dd298d56a3
commit
8bd19cc93f
@ -152,9 +152,19 @@ static HRESULT WINAPI InputProcessorProfiles_Register(
|
||||
static HRESULT WINAPI InputProcessorProfiles_Unregister(
|
||||
ITfInputProcessorProfiles *iface, REFCLSID rclsid)
|
||||
{
|
||||
WCHAR buf[39];
|
||||
WCHAR fullkey[68];
|
||||
InputProcessorProfiles *This = (InputProcessorProfiles*)iface;
|
||||
FIXME("STUB:(%p)\n",This);
|
||||
return E_NOTIMPL;
|
||||
|
||||
TRACE("(%p) %s\n",This,debugstr_guid(rclsid));
|
||||
|
||||
StringFromGUID2(rclsid, buf, 39);
|
||||
sprintfW(fullkey,szwTipfmt,szwSystemTIPKey,buf);
|
||||
|
||||
RegDeleteTreeW(HKEY_LOCAL_MACHINE, fullkey);
|
||||
RegDeleteTreeW(HKEY_CURRENT_USER, fullkey);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI InputProcessorProfiles_AddLanguageProfile(
|
||||
|
@ -68,7 +68,7 @@ static void test_Unregister(void)
|
||||
{
|
||||
HRESULT hr;
|
||||
hr = ITfInputProcessorProfiles_Unregister(g_ipp, &CLSID_FakeService);
|
||||
todo_wine ok(SUCCEEDED(hr),"Unable to unregister text service(%x)\n",hr);
|
||||
ok(SUCCEEDED(hr),"Unable to unregister text service(%x)\n",hr);
|
||||
}
|
||||
|
||||
START_TEST(inputprocessor)
|
||||
|
Loading…
Reference in New Issue
Block a user