TnefEncodeFile

This function encodes a file into a specified format..

At a Glance

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

Syntax

LPWSTR WINAPI TnefEncodeFile(LPWSTR FileToEncode,
INETENCODE
EncodeType);

Parameters

FileToEncode
[in] Pointer to a character string that contains the name of the file to encode.
EncodeType
[in] INETENCODE enumeration value that describes one of the following the encoding formats:
Base64
Quoted-Printable
UUEncode

Return Values

The file name of the encoded file indicates success. NULL indicates failure.

Remarks

This function does not alter the file described in FileToEncode.

You are responsible for deleting the file created by this function and for calling LocalFree on the name returned by TnefEncodeFile.

See Also

TnefDecodeFile