TnefEncodeBuffer
This function encodes a buffer 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 TnefEncodeBuffer(INETENCODE EncodeType, UINT cbIn,
BYTE * BufToEncode, UINT * pcbOut, LPSTR EncodedBuf);
Parameters
- EncodeType
- [in] INETENCODE enumeration value that describes one of the following the encoding formats:
Base64 |
Quoted-Printable |
UUEncode |
- cbIn
- [in] Unsigned integer that contains the size of the input buffer, in bytes.
- BufToEncode
- [in] Pointer to a buffer that contains the data to encode.
- pcbOut
- [in/out] Pointer to an unsigned integer that contains the size of the output buffer. Returns the size of the encoded data.
- EncodedBuf
- [in/out] Pointer to the output buffer.
Return Values
TRUE indicates success. FALSE indicates failure.
Remarks
This function fails if the output buffer is not large enough to contain all the encoded data.
See Also
TnefDecodeBuffer