home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / smpms.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  2KB  |  58 lines

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