[1/2] mlang: Implement IMultiLanguage2_IsCodePageInstallable. (try3)

Hans Leidekker hans at codeweavers.com
Wed Jul 1 09:30:00 CDT 2009


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-patches mailing list