mlang: Forward ConvertStringFromUnicode() to IMultiLanguage3 implementation.

This commit is contained in:
Nikolay Sivov 2012-09-27 22:28:09 +04:00 committed by Alexandre Julliard
parent 7fe26a9515
commit 8e7006025c
1 changed files with 9 additions and 8 deletions

View File

@ -2166,15 +2166,16 @@ static HRESULT WINAPI fnIMultiLanguage_ConvertStringToUnicode(
static HRESULT WINAPI fnIMultiLanguage_ConvertStringFromUnicode(
IMultiLanguage* iface,
DWORD* pdwMode,
DWORD dwEncoding,
WCHAR* pSrcStr,
UINT* pcSrcSize,
CHAR* pDstStr,
UINT* pcDstSize)
DWORD* mode,
DWORD encoding,
WCHAR* src,
UINT* src_size,
CHAR* dest,
UINT* dest_size)
{
return ConvertINetUnicodeToMultiByte(pdwMode, dwEncoding,
pSrcStr, (LPINT)pcSrcSize, pDstStr, (LPINT)pcDstSize);
MLang_impl *This = impl_from_IMultiLanguage(iface);
return IMultiLanguage3_ConvertStringFromUnicode(&This->IMultiLanguage3_iface,
mode, encoding, src, src_size, dest, dest_size);
}
static HRESULT WINAPI fnIMultiLanguage_ConvertStringReset(