SMPMS.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * S M P M S . H
  3. *
  4. * Definitions used by the Microsoft Sample Message Store Provider
  5. * for service entry calls.
  6. *
  7. * The following MAPI-defined properties are settable in service
  8. * entry calls for the Sample Message Store Provider.
  9. *
  10. * Copyright 1993-1999 Microsoft Corporation. All Rights Reserved.
  11. */
  12. #ifndef _SMPMS_H_
  13. #define _SMPMS_H_
  14. #define SMS_EXTERN_PROPID_BASE 0x6700 /* From MAPITAGS.H comments */
  15. #define PR_SMS_PATH PROP_TAG(PT_STRING8, SMS_EXTERN_PROPID_BASE + 0)
  16. #define PR_SMS_PASSWORD PROP_TAG(PT_STRING8, SMS_EXTERN_PROPID_BASE + 1)
  17. #define PR_SMS_REMEMBER_PW PROP_TAG(PT_BOOLEAN, SMS_EXTERN_PROPID_BASE + 2)
  18. #define PR_SMS_CREATE PROP_TAG(PT_BOOLEAN, SMS_EXTERN_PROPID_BASE + 3)
  19. /*
  20. * The following is a description of each of the Sample Message Store
  21. * Provider properties:
  22. *
  23. * PR_SMS_PATH
  24. * The full pathname to the root directory of the sample message store.
  25. *
  26. * PR_SMS_PASSWORD
  27. * The password needed to open the store (if already present), or the
  28. * new password (if creating the store).
  29. *
  30. * PR_SMS_REMEMBER_PW
  31. * If non-zero (TRUE), this property asks the service entry to save the
  32. * password in the profile, and to not prompt for it.
  33. *
  34. * PR_SMS_CREATE
  35. * If non-zero (TRUE), this property asks the service entry to create the
  36. * sample store. Otherwise, the service entry will attempt to open an
  37. * existing store.
  38. */
  39. /*
  40. * PR_MDB_PROVIDER is the GUID that represent the Sample Message Store
  41. * Provider. This guid is available as a property in the stores
  42. * table and on the message store object.
  43. */
  44. #define SMPMS_UID_PROVIDER \
  45. { 0x38, 0x5d, 0x47, 0x5f, \
  46. 0xec, 0xf1, 0xcd, 0x11, \
  47. 0x93, 0xdc, 0x5a, 0xab, \
  48. 0x3C, 0x47, 0x84, 0x37 }
  49. #endif /* _SMPMS_H_ */