mlang: Forward ConvertString() to IMultiLanguage3 implementation.

This commit is contained in:
Nikolay Sivov 2012-09-26 17:39:11 +04:00 committed by Alexandre Julliard
parent 97e30dfe70
commit 9f16a0883d

View File

@ -2137,16 +2137,17 @@ static HRESULT WINAPI fnIMultiLanguage_IsConvertible(
static HRESULT WINAPI fnIMultiLanguage_ConvertString( static HRESULT WINAPI fnIMultiLanguage_ConvertString(
IMultiLanguage* iface, IMultiLanguage* iface,
DWORD* pdwMode, DWORD* mode,
DWORD dwSrcEncoding, DWORD src_enc,
DWORD dwDstEncoding, DWORD dst_enc,
BYTE* pSrcStr, BYTE* src,
UINT* pcSrcSize, UINT* src_size,
BYTE* pDstStr, BYTE* dest,
UINT* pcDstSize) UINT* dest_size)
{ {
return ConvertINetString(pdwMode, dwSrcEncoding, dwDstEncoding, MLang_impl *This = impl_from_IMultiLanguage( iface );
(LPCSTR)pSrcStr, (LPINT)pcSrcSize, (LPSTR)pDstStr, (LPINT)pcDstSize); return IMultiLanguage3_ConvertString(&This->IMultiLanguage3_iface, mode, src_enc,
dst_enc, src, src_size, dest, dest_size);
} }
static HRESULT WINAPI fnIMultiLanguage_ConvertStringToUnicode( static HRESULT WINAPI fnIMultiLanguage_ConvertStringToUnicode(