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.

31 lines
1.3 KiB

  1. /************************************************************************************************
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name: POP3Server.h
  4. Notes:
  5. History:
  6. ************************************************************************************************/
  7. #ifndef __POP3SERVER_H_
  8. #define __POP3SERVER_H_
  9. #include <POP3RegKeys.h>
  10. #define POP3_SERVER_NAME _T("POP3 Service") // Use for Event Viewer and other places
  11. #define POP3_SERVER_NAME_L L"POP3 Service"
  12. #define IISADMIN_SERVICE_NAME _T( "IISADMIN" )
  13. #define WMI_SERVICE_NAME _T( "WINMGMT" )
  14. //#define W3_SERVICE_NAME _T( "W3SVC" ) // Definted in iis/inc/inetinfo.h
  15. //#define SMTP_SERVICE_NAME _T( "SMTPSVC" ) // Defined in iis/staxinc/export/smtpinet.h
  16. #define POP3_SERVICE_NAME _T("POP3SVC")
  17. #define POP3_SERVICE_DISPLAY_NAME _T("Microsoft POP3 Service")
  18. #define POP3_MAX_PATH MAX_PATH*2
  19. #define POP3_MAX_MAILROOT_LENGTH MAX_PATH
  20. #define POP3_MAX_ADDRESS_LENGTH POP3_MAX_MAILBOX_LENGTH + POP3_MAX_DOMAIN_LENGTH
  21. #define POP3_MAX_MAILBOX_LENGTH 65 // 64 + NULL
  22. #define POP3_MAX_DOMAIN_LENGTH 256 // 255 + NULL
  23. #endif //__POP3SERVER_H_