home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / xcmcmsx2.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  1.1 KB  |  54 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. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  12. #define _XCMCMSX2_H
  13.  
  14. #ifndef XCMCMSXT_H
  15. #   include <xcmcmsxt.h>
  16. #endif
  17.  
  18. #ifndef MAPIDEFS_H
  19. #   include <mapidefs.h>
  20. #endif
  21.  
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25.  
  26. /* Get an extended MAPI session from a CMC session */
  27. #ifdef MAPIX_H
  28.  
  29. STDMETHODIMP_(SCODE)
  30. ScMAPIXFromCMC(CMC_session_id cmc_session,
  31.                 ULONG ulFlags,
  32.                 LPCIID lpInterface,
  33.                 LPMAPISESSION FAR * lppMAPISession);
  34.  
  35. #endif /* MAPIX_H */
  36.  
  37. /* Extra flag for CMC_X_MS_ATTACH_DATA */
  38. #define CMC_X_MS_ATTACH_MESSAGE         ((CMC_flags) 4)
  39.  
  40. /* Attachment descriptor for CMC_X_ATTACH_DATA */
  41. typedef struct {
  42.     CMC_message_reference FAR *message;
  43.     CMC_uint32              id;
  44.     CMC_buffer              object;
  45. } CMC_X_MS_ATTACH;  
  46.  
  47. #ifdef __cplusplus
  48. }      /* extern "C" */
  49. #endif
  50.  
  51. #pragma option pop /*P_O_Pop*/
  52. #endif /* _XCMCMSX2_H */
  53.  
  54.