Hans Leidekker : mlang: Implement IMultiLanguage2_IsCodePageInstallable.

Alexandre Julliard julliard at winehq.org
Thu Jul 2 08:25:02 CDT 2009


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Wed Jul  1 16:30:00 2009 +0200

mlang: Implement IMultiLanguage2_IsCodePageInstallable.

---

 dlls/mlang/mlang.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c
index 180e1ad..c28e695 100644
--- a/dlls/mlang/mlang.c
+++ b/dlls/mlang/mlang.c
@@ -3125,8 +3125,10 @@ static HRESULT WINAPI fnIMultiLanguage2_IsCodePageInstallable(
     IMultiLanguage3* iface,
     UINT uiCodePage)
 {
-    FIXME("%u\n", uiCodePage);
-    return E_NOTIMPL;
+    TRACE("%u\n", uiCodePage);
+
+    /* FIXME: the installable set is usually larger than the set of valid codepages */
+    return IMultiLanguage2_ValidateCodePageEx(iface, uiCodePage, NULL, CPIOD_PEEK);
 }
 
 static HRESULT WINAPI fnIMultiLanguage2_SetMimeDBSource(




More information about the wine-cvs mailing list