UnicodeToModifiedUTF7

This function converts a Unicode string into a modified UTF7 string.

At a Glance

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

Syntax

int WINAPI UnicodeToModifiedUTF7 (LPCWSTR wszIn, int cchIn,
LPSTR
pchOut, Int cchOut);

Parameters

wszIn
[in] Pointer to the address of the string to convert.
cchIn
[in] Number of characters in the string specified by wszIn.
pchOut
[out] Pointer to the output buffer.
cchOut
[in] Number of characters in the output buffer.

Return Values

The number of Unicode characters translated and stored in pchOut is returned. A number equal to the value of cchIn indicates success. A number less than the value of cchIn indicates failure.

See Also

ModifiedUTF7ToUnicode, TnefConvertToUnicode