Module: wine Branch: master Commit: 096643dfa65386b565594bdd41a0883e8cb78236 URL: http://source.winehq.org/git/wine.git/?a=commit;h=096643dfa65386b565594bdd41...
Author: Aric Stewart aric@codeweavers.com Date: Thu Feb 5 13:13:02 2009 -0600
msctf: Stub implementation of SetInputScopes.
---
dlls/msctf/msctf.c | 17 +++++++++++++++++ dlls/msctf/msctf.spec | 2 +- 2 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/dlls/msctf/msctf.c b/dlls/msctf/msctf.c index 314a5c4..1f5e35b 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 d6e6b66..1c8bb37 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