Huw Davies : inetcomm: Implement MimeOleGetCharsetInfo.

Alexandre Julliard julliard at winehq.org
Wed Sep 17 07:15:14 CDT 2008


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Tue Sep 16 12:09:37 2008 +0100

inetcomm: Implement MimeOleGetCharsetInfo.

---

 dlls/inetcomm/mimeintl.c |   16 ++++++++++++++++
 dlls/inetcomm/mimeole.c  |    7 -------
 2 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/dlls/inetcomm/mimeintl.c b/dlls/inetcomm/mimeintl.c
index 5c4c867..262bdc5 100644
--- a/dlls/inetcomm/mimeintl.c
+++ b/dlls/inetcomm/mimeintl.c
@@ -546,3 +546,19 @@ HRESULT WINAPI MimeOleGetInternat(IMimeInternational **internat)
     IMimeInternational_AddRef(*internat);
     return S_OK;
 }
+
+HRESULT WINAPI MimeOleGetCharsetInfo(HCHARSET hCharset, LPINETCSETINFO pCsetInfo)
+{
+    IMimeInternational *internat;
+    HRESULT hr;
+
+    TRACE("(%p, %p)\n", hCharset, pCsetInfo);
+
+    hr = MimeOleGetInternat(&internat);
+    if(SUCCEEDED(hr))
+    {
+        hr = IMimeInternational_GetCharsetInfo(internat, hCharset, pCsetInfo);
+        IMimeInternational_Release(internat);
+    }
+    return S_OK;
+}
diff --git a/dlls/inetcomm/mimeole.c b/dlls/inetcomm/mimeole.c
index 7e9d709..617286c 100644
--- a/dlls/inetcomm/mimeole.c
+++ b/dlls/inetcomm/mimeole.c
@@ -2930,10 +2930,3 @@ HRESULT WINAPI MimeOleGetAllocator(IMimeAllocator **alloc)
 {
     return MimeAllocator_create(NULL, (void**)alloc);
 }
-
-HRESULT WINAPI MimeOleGetCharsetInfo(HCHARSET hCharset, LPINETCSETINFO pCsetInfo)
-{
-    FIXME("(%p, %p)\n", hCharset, pCsetInfo);
-    if(!hCharset) return E_INVALIDARG;
-    return E_FAIL;
-}




More information about the wine-cvs mailing list