From 096643dfa65386b565594bdd41a0883e8cb78236 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Thu, 5 Feb 2009 13:13:02 -0600 Subject: [PATCH] msctf: Stub implementation of SetInputScopes. --- dlls/msctf/msctf.c | 17 +++++++++++++++++ dlls/msctf/msctf.spec | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/dlls/msctf/msctf.c b/dlls/msctf/msctf.c index 314a5c4c9df..1f5e35bc824 100644 --- a/dlls/msctf/msctf.c +++ b/dlls/msctf/msctf.c @@ -233,3 +233,20 @@ HRESULT WINAPI SetInputScope(HWND hwnd, INT inputscope) FIXME("STUB: %p %i\n",hwnd,inputscope); return S_OK; } + +/*********************************************************************** + * SetInputScopes(MSCTF.@) + */ +HRESULT WINAPI SetInputScopes(HWND hwnd, const INT *pInputScopes, + UINT cInputScopes, WCHAR **ppszPhraseList, + UINT cPhrases, WCHAR *pszRegExp, WCHAR *pszSRGS) +{ + int i; + FIXME("STUB: %p ... %s %s\n",hwnd, debugstr_w(pszRegExp), debugstr_w(pszSRGS)); + for (i = 0; i < cInputScopes; i++) + TRACE("\tScope[%i] = %i\n",i,pInputScopes[i]); + for (i = 0; i < cPhrases; i++) + TRACE("\tPhrase[%i] = %s\n",i,debugstr_w(ppszPhraseList[i])); + + return S_OK; +} diff --git a/dlls/msctf/msctf.spec b/dlls/msctf/msctf.spec index d6e6b66f9c2..1c8bb37a1b4 100644 --- a/dlls/msctf/msctf.spec +++ b/dlls/msctf/msctf.spec @@ -4,7 +4,7 @@ @ stdcall -private DllUnregisterServer() @ stdcall SetInputScope(long long) @ stub SetInputScopeXML -@ stub SetInputScopes +@ stdcall SetInputScopes(long ptr long ptr long wstr wstr) @ stub TF_CUASAppFix @ stub TF_CheckThreadInputIdle @ stub TF_ClearLangBarAddIns -- 2.11.4.GIT