Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Decodes a string of data that has been encoded in quoted-printable format such as by a previous call to QPEncode.
inline BOOL QPDecode(
   BYTE* pbSrcData,
   int nSrcLen,
   LPSTR szDest,
   int* pnDestLen,
   DWORD dwFlags = 0 
) throw( );
Parameters
- [in] pbSrcData 
 The buffer containing the data to be decoded.
- [in] nSrcLen 
 The length in bytes of pbSrcData.
- [out] szDest 
 Caller-allocated buffer to receive the decoded data.
- [out] pnDestLen 
 Pointer to a variable that contains the length in bytes of szDest. If the function succeeds, the variable receives the number of bytes written to the buffer. If the function fails, the variable receives the required length in bytes of the buffer.
- [in] dwFlags 
 Flags describing how the conversion is to be performed. See ATLSMTP_QPENCODE Flags.
Return Value
Returns TRUE on success, FALSE on failure.
Remarks
The quoted-printable encoding scheme is described in RFC 2045 (http://www.ietf.org/rfc/rfc2045.txt).
Requirements
Header: atlenc.h
See Also
Reference
Other Resources
ATL Functions Alphabetical Reference
Change History
| Date | History | Reason | 
|---|---|---|
| January 2010 | Updated parameter definitions. | Content bug fix. |