This function decodes a buffer from a specified format into ASCII.
Header file: | Tnefapi.h |
Platforms: | H/PC 3.0 |
Windows CE versions: | 2.10 and later |
BOOL WINAPI TnefDecodeBuffer(INETENCODE EncodeType,
LPSTR BufToDecode, BYTE * DecodedBuf, UINT * puiLength);
Base64 |
Quoted-Printable |
UUEncode |
TRUE indicates success. FALSE indicates failure. To get extended error information, call the function TransportError or TransportErrorMsg.
This function fails if the output buffer is not large enough to contain all the decoded data. When this happens, puiLength returns the size of the buffer necessary to contain the decoded data.