Source code of Windows XP (NT5)
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.

46 lines
961 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. seoext.h
  5. Abstract:
  6. SMTP server extension header file. These definitions are available
  7. to SEO server extension writers.
  8. Author:
  9. Microsoft Corporation July, 1997
  10. Revision History:
  11. --*/
  12. #ifndef _SEOEXT_H_
  13. #define _SEOEXT_H_
  14. // ====================================================================
  15. // Return codes
  16. //
  17. #define SSE_STATUS_SUCCESS 0
  18. #define SSE_STATUS_RETRY 1
  19. #define SSE_STATUS_ABORT_DELIVERY 2
  20. #define SSE_STATUS_BAD_MAIL 3
  21. #define SSE_STATUS_INTERNAL_ERROR 0x1000
  22. #define SSE_STATUS_EXCEPTION 0x1001
  23. // The SMTP server fills in one of these before it calls
  24. // CallDeliveryExtension()
  25. typedef struct _DELIVERY_EXTENSION_BLOCK
  26. {
  27. HANDLE hImpersonation; // Token for user impersonation
  28. LPSTR lpszMailboxPath; // Recipient's mailbox path
  29. } DELIVERY_EXTENSION_BLOCK, *LPDELIVERY_EXTENSION_BLOCK;
  30. #endif