From 031f3ca16714b78e7586efdd92890f8f5cc2bf2d Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 24 Sep 2012 12:06:28 +0400 Subject: [PATCH] mlang: Implement get source/dest codepages for IMLangConvertCharset. --- dlls/mlang/mlang.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c index 388b99c7567..caae2c22d72 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) -- 2.11.4.GIT