Module: wine Branch: master Commit: fac0d945e4fa850f2f0a84b7c26beb2caa513549 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fac0d945e4fa850f2f0a84b7c2...
Author: Aric Stewart aric@codeweavers.com Date: Tue Jun 30 14:46:42 2009 -0500
msctf: Implement TF_CreateInputProcessorProfiles.
---
dlls/msctf/msctf.c | 9 +++++++++ dlls/msctf/msctf.spec | 2 +- include/msctf.idl | 1 + 3 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/dlls/msctf/msctf.c b/dlls/msctf/msctf.c index b0a1c54..7f0349f 100644 --- a/dlls/msctf/msctf.c +++ b/dlls/msctf/msctf.c @@ -600,3 +600,12 @@ HRESULT WINAPI SetInputScopes(HWND hwnd, const INT *pInputScopes,
return S_OK; } + +/*********************************************************************** + * TF_CreateInputProcessorProfiles(MSCTF.@) + */ +HRESULT WINAPI TF_CreateInputProcessorProfiles( + ITfInputProcessorProfiles **ppipr) +{ + return InputProcessorProfiles_Constructor(NULL,(IUnknown**)ppipr); +} diff --git a/dlls/msctf/msctf.spec b/dlls/msctf/msctf.spec index 1c8bb37..f7c35a3 100644 --- a/dlls/msctf/msctf.spec +++ b/dlls/msctf/msctf.spec @@ -11,7 +11,7 @@ @ stub TF_CreateCategoryMgr @ stub TF_CreateCicLoadMutex @ stub TF_CreateDisplayAttributeMgr -@ stub TF_CreateInputProcessorProfiles +@ stdcall TF_CreateInputProcessorProfiles(ptr) @ stub TF_CreateLangBarItemMgr @ stub TF_CreateLangBarMgr @ stdcall TF_CreateThreadMgr(ptr) diff --git a/include/msctf.idl b/include/msctf.idl index fc2a8da..ef362e0 100644 --- a/include/msctf.idl +++ b/include/msctf.idl @@ -31,6 +31,7 @@ cpp_quote("#define TF_E_NOLOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_IT
cpp_quote("HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim);") cpp_quote("HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim);") +cpp_quote("HRESULT WINAPI TF_CreateInputProcessorProfiles(ITfInputProcessorProfiles **ppipr);")
cpp_quote("EXTERN_C const CLSID CLSID_TF_ThreadMgr;") cpp_quote("EXTERN_C const CLSID CLSID_TF_InputProcessorProfiles;")