SMPXP.h 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /*
  2. * S M P X P . H
  3. *
  4. * Definitions used by the Microsoft Sample Transport provider
  5. * for service entry calls.
  6. *
  7. * The following MAPI-defined properties are settable in service
  8. * entry calls for the Sample Transport Provider.
  9. *
  10. * Copyright 1993-1999 Microsoft Corporation. All Rights Reserved.
  11. */
  12. #define BASE_ID 0x6600 /* From MAPITAGS.H comments */
  13. #define PR_SAMPLE_DISPLAY_NAME PROP_TAG (PT_TSTRING, (BASE_ID + 0x0001))
  14. #define PR_SAMPLE_EMAIL_ADDR_TYPE PROP_TAG (PT_TSTRING, (BASE_ID + 0x0002))
  15. #define PR_SAMPLE_EMAIL_ADDRESS PROP_TAG (PT_TSTRING, (BASE_ID + 0x0003))
  16. #define PR_SAMPLE_INBOUND_DIR PROP_TAG (PT_TSTRING, (BASE_ID + 0x0004))
  17. #define PR_SAMPLE_OUTBOUND_DIR PROP_TAG (PT_TSTRING, (BASE_ID + 0x0005))
  18. #define PR_SAMPLE_FILENAME PROP_TAG (PT_TSTRING, (BASE_ID + 0x0006))
  19. #define PR_SAMPLE_DIRECTORY PROP_TAG (PT_TSTRING, (BASE_ID + 0x0007))
  20. #define PR_SAMPLE_FLAGS PROP_TAG (PT_LONG, (BASE_ID + 0x0008))
  21. #define PR_SAMPLE_FLAG_PEER_TO_PEER ((ULONG) 0x00000001)
  22. #define PR_SAMPLE_FLAG_UI_ALWAYS ((ULONG) 0x00000002)
  23. #define PR_SAMPLE_FLAG_LOG_EVENTS ((ULONG) 0x00000004)
  24. #define PR_SAMPLE_FLAG_SAVE_DATA ((ULONG) 0x00000008)
  25. #define PR_SAMPLE_LOGFILE PROP_TAG (PT_TSTRING, (BASE_ID + 0x0009))
  26. #define PR_SAMPLE_LOGHIGHWATER PROP_TAG (PT_LONG, (BASE_ID + 0x000A))
  27. #define PR_SAMPLE_LOGLOWWATER PROP_TAG (PT_LONG, (BASE_ID + 0x000B))
  28. /*
  29. * The following is a description of each of the Sample Tranpsort
  30. * Provider properties:
  31. *
  32. * PR_SAMPLE_DISPLAY_NAME
  33. * Display name of user.
  34. *
  35. * PR_SAMPLE_EMAIL_ADDR_TYPE
  36. * Address type of sample transport. This will be used to construct inbound
  37. * and outbound addresses where needed. It also will be used to tell the
  38. * Spooler what address types we should get.
  39. *
  40. * PR_SAMPLE_EMAIL_ADDRESS
  41. * Email address. This will usually be the same as the inbound directory,
  42. * although this may tend to have a more canonical form for remote access.
  43. *
  44. * PR_SAMPLE_INBOUND_DIR
  45. * Inbound directory. This is where the transport will look in order to
  46. * determine whether it has received any mail.
  47. *
  48. * PR_SAMPLE_OUTBOUND_DIR
  49. * Outbound directory. The transport will store its message files here
  50. * while it is in the process of sending them. The presence of a file
  51. * in this directory implies that the transport still has work to do.
  52. *
  53. * PR_SAMPLE_FILENAME
  54. * Filename. This is an 8-character root for use by mail-enabled or
  55. * workgroup applications to build a complete file specification (by
  56. * adding an extension) for data they wish to store for this user.
  57. *
  58. * PR_SAMPLE_DIRECTORY
  59. * Directory. This is a directory in which workgroup applications may
  60. * wish to store their files pertaining to this user.
  61. *
  62. * PR_SAMPLE_FLAGS
  63. * Flags. Contain various options for this transport provider.
  64. * Valid values are:
  65. *
  66. * PR_SAMPLE_FLAG_PEER_TO_PEER
  67. * PR_SAMPLE_FLAG_UI_ALWAYS
  68. * PR_SAMPLE_FLAG_LOG_EVENTS
  69. * PR_SAMPLE_FLAG_SAVE_DATA
  70. *
  71. * PR_SAMPLE_LOGFILE
  72. * Logfile. This is where logging information will be written. If this
  73. * property is not present, we will use (PR_SAMPLE_FILENAME)".LOG"
  74. *
  75. * PR_SAMPLE_LOGHIGHWATER
  76. * Logfile high water mark. This is the point at which the log writer will
  77. * truncate the logfile so as not to fill up the disk.
  78. *
  79. * PR_SAMPLE_LOGLOWWATER
  80. * Logfile low water mark. This is the approximate size that the logfile
  81. * writer will truncate the logfile to (modulo a line ending).
  82. */