Commit 8bd19cc9 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

msctf: Implement ITfInputProcessorProfiles::Unregister.

parent dd298d56
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment