XCMCMSX2.h 988 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. #ifndef _XCMCMSX2_H
  10. #define _XCMCMSX2_H
  11. #ifndef XCMCMSXT_H
  12. # include <xcmcmsxt.h>
  13. #endif
  14. #ifndef MAPIDEFS_H
  15. # include <mapidefs.h>
  16. #endif
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. /* Get an extended MAPI session from a CMC session */
  21. #ifdef MAPIX_H
  22. STDMETHODIMP_(SCODE)
  23. ScMAPIXFromCMC(CMC_session_id cmc_session,
  24. ULONG ulFlags,
  25. LPCIID lpInterface,
  26. LPMAPISESSION FAR * lppMAPISession);
  27. #endif /* MAPIX_H */
  28. /* Extra flag for CMC_X_MS_ATTACH_DATA */
  29. #define CMC_X_MS_ATTACH_MESSAGE ((CMC_flags) 4)
  30. /* Attachment descriptor for CMC_X_ATTACH_DATA */
  31. typedef struct {
  32. CMC_message_reference FAR *message;
  33. CMC_uint32 id;
  34. CMC_buffer object;
  35. } CMC_X_MS_ATTACH;
  36. #ifdef __cplusplus
  37. } /* extern "C" */
  38. #endif
  39. #endif /* _XCMCMSX2_H */