[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-patches
Subject:    msctf: implement TF_CreateInputProcessorProfiles
From:       Aric Stewart <aric () codeweavers ! com>
Date:       2009-06-30 19:46:42
Message-ID: 4A4A6BA2.7030101 () codeweavers ! com
[Download RAW message or body]

---
  dlls/msctf/msctf.c    |   11 +++++++++++
  dlls/msctf/msctf.spec |    2 +-
  include/msctf.idl     |    1 +
  3 files changed, 13 insertions(+), 1 deletions(-)



["0309980abb054f51ffee76b74f49e7bccedb9e5b.diff" (text/x-patch)]

diff --git a/dlls/msctf/msctf.c b/dlls/msctf/msctf.c
index b0a1c54..b6cbf61 100644
--- a/dlls/msctf/msctf.c
+++ b/dlls/msctf/msctf.c
@@ -600,3 +600,14 @@ 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 1a34895..6b341d2 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;")





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic