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

  1. /*
  2.  *  XCMCMSX2.H
  3.  *  
  4.  *  Purpose:
  5.  *  Specifies constants and data structures for Microsoft CMC extensions
  6.  *  set update (forms extensions)
  7.  *  
  8.  */
  9.  
  10. #ifndef _XCMCMSX2_H
  11. #define _XCMCMSX2_H
  12.  
  13. #ifndef XCMCMSXT_H
  14. #   include <xcmcmsxt.h>
  15. #endif
  16.  
  17. #ifndef MAPIDEFS_H
  18. #   include <mapidefs.h>
  19. #endif
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24.  
  25. /* Get an extended MAPI session from a CMC session */
  26. #ifdef MAPIX_H
  27.  
  28. STDMETHODIMP_(SCODE)
  29. ScMAPIXFromCMC(CMC_session_id cmc_session,
  30.                 ULONG ulFlags,
  31.                 LPCIID lpInterface,
  32.                 LPMAPISESSION FAR * lppMAPISession);
  33.  
  34. #endif /* MAPIX_H */
  35.  
  36. /* Extra flag for CMC_X_MS_ATTACH_DATA */
  37. #define CMC_X_MS_ATTACH_MESSAGE         ((CMC_flags) 4)
  38.  
  39. /* Attachment descriptor for CMC_X_ATTACH_DATA */
  40. typedef struct {
  41.     CMC_message_reference FAR *message;
  42.     CMC_uint32              id;
  43.     CMC_buffer              object;
  44. } CMC_X_MS_ATTACH;  
  45.  
  46. #ifdef __cplusplus
  47. }      /* extern "C" */
  48. #endif
  49.  
  50. #endif /* _XCMCMSX2_H */
  51.  
  52.