Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
2.4 KiB

  1. // =================================================================================
  2. // Message Out Object Definition
  3. // Written by: Steven J. Bailey on 1/21/96
  4. // =================================================================================
  5. #ifndef __MSGOUT_H
  6. #define __MSGOUT_H
  7. // =================================================================================
  8. // Depends on
  9. // =================================================================================
  10. #include "mimeatt.h"
  11. #include "message.h"
  12. #include "mimecmn.h"
  13. #include "ipab.h"
  14. // =================================================================================
  15. // Defines
  16. // =================================================================================
  17. #define MAX_ENCODE_BUFFER 4096
  18. #define MAX_XMAILER_STR 255
  19. #define MAX_MIME_VERSION_STR 255
  20. #define MAX_MSGID_STR 255
  21. #define MAX_BOUNDARY_STR 38
  22. #define STREAM_ECODING_SCAN_LENGTH 4096
  23. // =================================================================================
  24. // Stream Out
  25. // =================================================================================
  26. HRESULT HrEmitMessageID (LPSTREAM lpstmOut);
  27. HRESULT HrEmitMIMEVersion (LPSTREAM lpstmOut);
  28. HRESULT HrEmitDateTime (LPSTREAM lpstmOut, LPFILETIME lpft);
  29. HRESULT HrEmitBody (LPSTREAM lpstmOut, LPSTREAM lpstmBody, LPSTR lpszBoundary, BOOL fMIME);
  30. HRESULT HrEmitMimeHdr (LPSTREAM lpstmOut, LPMIMEHDR lpMimeHdr);
  31. HRESULT HrEmitLineBreak (LPSTREAM lpstmOut);
  32. HRESULT HrEscapeQuotedString (LPTSTR pszIn, LPTSTR *ppszOut);
  33. HRESULT HrStreamMsgOut (CMsg *lpMsg, LPSTREAM lpstmOut, LPMSGINFO lpMsgInfo, ULONG *piBodyStart);
  34. HRESULT HrEmitAddrList (LPSTREAM lpstmOut,
  35. LPTSTR lpszKeyword,
  36. LPWABAL lpWabal,
  37. LONG lRecipType,
  38. ULONG cbMaxLine,
  39. BOOL f1522Allowed,
  40. LPTSTR lpszCset);
  41. HRESULT HrEmitKeywordValue (LPSTREAM lpstmOut,
  42. LPTSTR lpszKeyword,
  43. LPTSTR lpszValue,
  44. BOOL fStructured,
  45. ULONG cbMaxLine,
  46. BOOL fEncode,
  47. LPSTR lpszCset);
  48. #endif // __MSGOUT_H