home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / mspab.h < prev    next >
Text File  |  1998-04-25  |  2KB  |  70 lines

  1. /*
  2.  *  M S P A B . H
  3.  *  
  4.  *  Public definitions for the Microsoft Personal Address Book
  5.  *  
  6.  *  Copyright 1986-1996 Microsoft Corporation. All Rights Reserved.
  7.  */
  8.  
  9. /*
  10.  *  Microsoft Personal Address Book Provider ID
  11.  *  -------------------------------------------
  12.  */
  13.  
  14. #define PAB_PROVIDER_ID     \
  15. {                           \
  16.     0xB5, 0x3b, 0xc2, 0xc0, \
  17.     0x2c, 0x77, 0x10, 0x1a, \
  18.     0xa1, 0xbc, 0x08, 0x00, \
  19.     0x2b, 0x2a, 0x56, 0xc2  \
  20. }
  21.  
  22.  
  23. /*
  24.  *  Messaging Service Properties
  25.  *  ----------------------------
  26.  *
  27.  *  The following properties are required to completely configure
  28.  *  the Microsoft Personal Address Book messaging service with
  29.  *  IMsgServiceAdmin::ConfigureMsgService() if UI is not requested
  30.  *  by passing the UI_SERVICE flag.
  31.  */
  32.  
  33. /*
  34.  *      Fully qualified pathname of .PAB file to use
  35.  */
  36. #define     PR_PAB_PATH                     PROP_TAG( PT_TSTRING,   0x6600 )
  37. #define     PR_PAB_PATH_W                   PROP_TAG( PT_UNICODE,   0x6600 )
  38. #define     PR_PAB_PATH_A                   PROP_TAG( PT_STRING8,   0x6600 )
  39.  
  40. /*
  41.  *  The following additional properties may also be passed to
  42.  *  customize the configuration.
  43.  */
  44.  
  45. /*
  46.  *      PR_DISPLAY_NAME
  47.  *          The display name to be used for the PAB in the address
  48.  *          book hierarchy.
  49.  *
  50.  *      PR_COMMENT
  51.  *          A comment to be associated with the PAB.
  52.  *
  53.  *      PR_PAB_DET_DIR_VIEW_BY
  54.  *          Determines how names of entries in the PAB with separate first
  55.  *          and last names are displayed.
  56.  *
  57.  *          Possible values are:
  58.  *
  59.  *          PAB_DIR_VIEW_FIRST_THEN_LAST    First name followed by last name
  60.  *          (default)                       (e.g. "Dave Olsen").
  61.  *
  62.  *          PAB_DIR_VIEW_LAST_THEN_FIRST    Last name followed by separator
  63.  *                                          followed by first name
  64.  *                                          (e.g. "Olsen, Dave").
  65.  */
  66. #define     PR_PAB_DET_DIR_VIEW_BY          PROP_TAG( PT_LONG,      0x6601 )
  67.  
  68. #define     PAB_DIR_VIEW_FIRST_THEN_LAST    0
  69. #define     PAB_DIR_VIEW_LAST_THEN_FIRST    1
  70.