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

  1. /*
  2.  *  XCMCMSXT.H
  3.  *  
  4.  *  Purpose:
  5.  *  Specifies constants and data structures for Microsoft CMC extension set
  6.  *  
  7.  */
  8.  
  9. #ifndef XCMCMSXT_H
  10. #define XCMCMSXT_H
  11.  
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15.  
  16. /***********************************************************************
  17.  Warning: Value for MS_EXT_SET_ID has not been finalized yet.
  18.  ***********************************************************************/
  19. #define MS_EXT_SET_ID                   (512)
  20.  
  21. #define CMC_XS_MS                       ((CMC_uint32) MS_EXT_SET_ID)
  22.  
  23. /*** FUNCTION EXTENSIONS ***/
  24.  
  25. /* Describes extra flags used for logging on/off a session */
  26. #define CMC_X_MS_SESSION_FLAGS          ((CMC_uint32) MS_EXT_SET_ID + 16)
  27. #define CMC_X_MS_NEW_SESSION            ((CMC_flags) 1)
  28. #define CMC_X_MS_FORCE_DOWNLOAD         ((CMC_flags) 4)
  29.  
  30. /* Flags used by various functions */
  31. #define CMC_X_MS_FUNCTION_FLAGS         ((CMC_uint32) MS_EXT_SET_ID + 17)
  32. #define CMC_X_MS_READ_ENV_ONLY          ((CMC_flags) 1)
  33. #define CMC_X_MS_READ_BODY_AS_FILE      ((CMC_flags) 2)
  34. #define CMC_X_MS_LIST_GUARANTEE_FIFO    ((CMC_flags) 4)
  35. #define CMC_X_MS_AB_NO_MODIFY           ((CMC_flags) 8)
  36.  
  37. /* Extra options when displaying the Address Book UI */
  38. #define CMC_X_MS_ADDRESS_UI             ((CMC_uint32) MS_EXT_SET_ID + 18)
  39.  
  40. /*** DATA EXTENSIONS ***/
  41.  
  42. /* Extra flags for attachments */
  43. #define CMC_X_MS_ATTACH_DATA            ((CMC_uint32) MS_EXT_SET_ID + 128)
  44. #define CMC_X_MS_ATTACH_OLE             ((CMC_flags) 1)
  45. #define CMC_X_MS_ATTACH_OLE_STATIC      ((CMC_flags) 2)
  46.  
  47. /* Extra data for messages */
  48. #define CMC_X_MS_MESSAGE_DATA           ((CMC_uint32) MS_EXT_SET_ID + 129)
  49. #define CMC_X_MS_MSG_RECEIPT_REQ        ((CMC_flags) 1)
  50.  
  51. #ifdef __cplusplus
  52. }      /* extern "C" */
  53. #endif
  54.  
  55. #endif /* XCMCMSXT_H */
  56.