IMultiLanguage2::ConvertStringInIStream (Windows Embedded CE 6.0)
This method converts the given stream from the source code page to the destination code page.
HRESULT ConvertStringInIStream( DWORD* pdwMode, DWORD dwFlag, WCHAR* lpFallBack, DWORD dwSrcEncoding, DWORD dwDstEncoding, IStream* pstmIn, IStream* pstmOut );
[in, out] Address of storage for conversion context. A calling function should only provide storage that is initialized with zero at the first call to the method. The caller should not modify this value.
[in] Specifies one of the MLCONVCHAR-defined bit flag values. A caller can specify the MLCONVCHAR_USEDEFCHAR constant, which indicates that when the method encounters an unconvertible character in the source stream, the sequence of characters in the lpFallBack parameter is to be used in its place.
[in] Null-terminated sequence of Unicode characters that are output in place of an unconvertible Unicode character when the dwFlag parameter is set to MLCONVCHAR_USEDEFCHAR.
[in] Specifies the code page identifier value for the source stream. This value is equivalent to the uiCodePage member of the MIMECPINFO structure assigned to the dwSrcEncoding parameter.
[in] Specifies the code page identifier value for the destination stream. This value is equivalent to the uiCodePage member of the MIMECPINFO structure assigned to the dwDstEncoding parameter.
[in] Pointer to the IStream interface for the source stream.
[in] Pointer to the IStream interface where the converted result will be stored.