00001 /* 00002 * XCMCMSX2.H 00003 * 00004 * Purpose: 00005 * Specifies constants and data structures for Microsoft CMC extensions 00006 * set update (forms extensions) 00007 * 00008 */ 00009 00010 #ifndef _XCMCMSX2_H 00011 #define _XCMCMSX2_H 00012 #pragma option -b 00013 00014 #ifndef XCMCMSXT_H 00015 # include <xcmcmsxt.h> 00016 #endif 00017 00018 #ifndef MAPIDEFS_H 00019 # include <mapidefs.h> 00020 #endif 00021 00022 #ifdef __BORLANDC__ 00023 #pragma option -b. 00024 #include <pshpack8.h> 00025 #pragma option -b 00026 #endif 00027 00028 #ifdef __cplusplus 00029 extern "C" { 00030 #endif 00031 00032 /* Get an extended MAPI session from a CMC session */ 00033 #ifdef MAPIX_H 00034 00035 STDMETHODIMP_(SCODE) 00036 ScMAPIXFromCMC(CMC_session_id cmc_session, 00037 ULONG ulFlags, 00038 LPCIID lpInterface, 00039 LPMAPISESSION FAR * lppMAPISession); 00040 00041 #endif /* MAPIX_H */ 00042 00043 /* Extra flag for CMC_X_MS_ATTACH_DATA */ 00044 #define CMC_X_MS_ATTACH_MESSAGE ((CMC_flags) 4) 00045 00046 /* Attachment descriptor for CMC_X_ATTACH_DATA */ 00047 typedef struct { 00048 CMC_message_reference FAR *message; 00049 CMC_uint32 id; 00050 CMC_buffer object; 00051 } CMC_X_MS_ATTACH; 00052 00053 #ifdef __cplusplus 00054 } /* extern "C" */ 00055 #endif 00056 00057 #ifdef __BORLANDC__ 00058 #pragma option -b. 00059 #include <poppack.h> 00060 #pragma option -b 00061 #endif 00062 00063 #pragma option -b. 00064 #endif /* _XCMCMSX2_H */ 00065