ModifiedUTF7ToUnicode

This function converts a modified UTF7 string into Unicode.

At a Glance

Header file: Tnefapi.h
Platforms: H/PC 3.0
Windows CE versions: 2.10 and later

Syntax

int WINAPI ModifiedUTF7ToUnicode (LPCSTR lpMultiByteSr,
int
ccMultiByte, LPWSTR lpWideCharStr, int ccWideChar);

Parameters

lpMultibyteStr
[in] Long pointer to the address of the string to convert.
ccMultiByte
[in] Integer that contains the number of bytes in the string pointed to by lpMultibyteStr.
lpWideCharStr
[out] Long pointer to the address of a wide-character buffer. This buffer returns the converted character string.
ccWideChar
[in] Integer that contains the size of the output buffer pointed to by lpWideCharStr.

Return Values

The character count of the Unicode string, including the terminating null character, indicates success. Zero indicates failure.

See Also

TnefConvertToUnicode, UnicodeToModifiedUTF7