Aric Stewart : msctf: Semi-stub implementation of ITfInputProcessorProfiles ::GetLanguageList.

Alexandre Julliard julliard at winehq.org
Thu Jun 25 08:13:56 CDT 2009


Module: wine
Branch: master
Commit: a19efb7ad91a92934f40df8c6aa9554155e7eaaa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a19efb7ad91a92934f40df8c6aa9554155e7eaaa

Author: Aric Stewart <aric at codeweavers.com>
Date:   Thu Jun 25 17:00:45 2009 +0900

msctf: Semi-stub implementation of ITfInputProcessorProfiles::GetLanguageList.

---

 dlls/msctf/inputprocessor.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/msctf/inputprocessor.c b/dlls/msctf/inputprocessor.c
index 80d8c7d..765c3d5 100644
--- a/dlls/msctf/inputprocessor.c
+++ b/dlls/msctf/inputprocessor.c
@@ -422,8 +422,11 @@ static HRESULT WINAPI InputProcessorProfiles_GetLanguageList(
         ITfInputProcessorProfiles *iface, LANGID **ppLangId, ULONG *pulCount)
 {
     InputProcessorProfiles *This = (InputProcessorProfiles*)iface;
-    FIXME("STUB:(%p)\n",This);
-    return E_NOTIMPL;
+    FIXME("Semi-STUB:(%p)\n",This);
+    *ppLangId = CoTaskMemAlloc(sizeof(LANGID));
+    **ppLangId = This->currentLanguage;
+    *pulCount = 1;
+    return S_OK;
 }
 
 static HRESULT WINAPI InputProcessorProfiles_EnumLanguageProfiles(




More information about the wine-cvs mailing list