mlang: Forward ConvertStringToUnicode() to IMultiLanguage3 implementation.

This commit is contained in:
Nikolay Sivov 2012-09-26 17:41:39 +04:00 committed by Alexandre Julliard
parent 9f16a0883d
commit c8c624a9c3
1 changed files with 9 additions and 8 deletions

View File

@ -2152,15 +2152,16 @@ static HRESULT WINAPI fnIMultiLanguage_ConvertString(
static HRESULT WINAPI fnIMultiLanguage_ConvertStringToUnicode( static HRESULT WINAPI fnIMultiLanguage_ConvertStringToUnicode(
IMultiLanguage* iface, IMultiLanguage* iface,
DWORD* pdwMode, DWORD* mode,
DWORD dwEncoding, DWORD src_enc,
CHAR* pSrcStr, CHAR* src,
UINT* pcSrcSize, UINT* src_size,
WCHAR* pDstStr, WCHAR* dest,
UINT* pcDstSize) UINT* dest_size)
{ {
return ConvertINetMultiByteToUnicode(pdwMode, dwEncoding, MLang_impl *This = impl_from_IMultiLanguage( iface );
(LPCSTR)pSrcStr, (LPINT)pcSrcSize, pDstStr, (LPINT)pcDstSize); return IMultiLanguage3_ConvertStringToUnicode(&This->IMultiLanguage3_iface,
mode, src_enc, src, src_size, dest, dest_size);
} }
static HRESULT WINAPI fnIMultiLanguage_ConvertStringFromUnicode( static HRESULT WINAPI fnIMultiLanguage_ConvertStringFromUnicode(