[3/3] mlang: Implement get source/dest codepages for IMLangConvertCharset
Nikolay Sivov
nsivov at codeweavers.com
Mon Sep 24 03:17:41 CDT 2012
Implement get source/dest codepages for IMLangConvertCharset
-------------- next part --------------
>From 798a473cc7f984d543f6f708d4184da38bf6c813 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov at codeweavers.com>
Date: Mon, 24 Sep 2012 12:06:28 +0400
Subject: [PATCH 5/5] Implement get source/dest codepages for IMLangConvertCharset
---
dlls/mlang/mlang.c | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c
index 388b99c..caae2c2 100644
--- a/dlls/mlang/mlang.c
+++ b/dlls/mlang/mlang.c
@@ -3632,15 +3632,21 @@ static HRESULT WINAPI MLangConvertCharset_Initialize(IMLangConvertCharset *iface
static HRESULT WINAPI MLangConvertCharset_GetSourceCodePage(IMLangConvertCharset *iface, UINT *src_cp)
{
struct convert_charset *This = impl_from_IMLangConvertCharset(iface);
- FIXME("(%p)->(%p): stub\n", This, src_cp);
- return E_NOTIMPL;
+
+ TRACE("(%p)->(%p)\n", This, src_cp);
+
+ *src_cp = This->src_cp;
+ return S_OK;
}
static HRESULT WINAPI MLangConvertCharset_GetDestinationCodePage(IMLangConvertCharset *iface, UINT *dst_cp)
{
struct convert_charset *This = impl_from_IMLangConvertCharset(iface);
- FIXME("(%p)->(%p): stub\n", This, dst_cp);
- return E_NOTIMPL;
+
+ TRACE("(%p)->(%p)\n", This, dst_cp);
+
+ *dst_cp = This->dst_cp;
+ return S_OK;
}
static HRESULT WINAPI MLangConvertCharset_GetProperty(IMLangConvertCharset *iface, DWORD *prop)
--
1.5.6.5
More information about the wine-patches
mailing list