TnefDecodeFile

This function decodes 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

BOOL WINAPI TnefDecodeFile(INETENCODE EncodeType,
LPWSTR
FileToDecode, LPWSTR DecodedFileName);

Parameters

EncodeType
[in] INETENCODE enumeration value that describes one of the following the encoding formats:
Base64
Quoted-Printable
UUEncode

FiletoDecode
[in] Pointer to the name of the file to decode.
DecodedFileName
[in] Pointer to the name of the output file.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

If successful, this function outputs the file specified by DecodedFileName. Delete this file once you are finished with it.

See Also

TnefEncodeFile