1*c2c66affSColin Finck /*
2*c2c66affSColin Finck * Copyright 2004 Jon Griffiths
3*c2c66affSColin Finck *
4*c2c66affSColin Finck * This library is free software; you can redistribute it and/or
5*c2c66affSColin Finck * modify it under the terms of the GNU Lesser General Public
6*c2c66affSColin Finck * License as published by the Free Software Foundation; either
7*c2c66affSColin Finck * version 2.1 of the License, or (at your option) any later version.
8*c2c66affSColin Finck *
9*c2c66affSColin Finck * This library is distributed in the hope that it will be useful,
10*c2c66affSColin Finck * but WITHOUT ANY WARRANTY; without even the implied warranty of
11*c2c66affSColin Finck * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12*c2c66affSColin Finck * Lesser General Public License for more details.
13*c2c66affSColin Finck *
14*c2c66affSColin Finck * You should have received a copy of the GNU Lesser General Public
15*c2c66affSColin Finck * License along with this library; if not, write to the Free Software
16*c2c66affSColin Finck * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17*c2c66affSColin Finck */
18*c2c66affSColin Finck
19*c2c66affSColin Finck #ifndef MAPIUTIL_H_
20*c2c66affSColin Finck #define MAPIUTIL_H_
21*c2c66affSColin Finck
22*c2c66affSColin Finck #include <mapix.h>
23*c2c66affSColin Finck
24*c2c66affSColin Finck #ifdef __cplusplus
25*c2c66affSColin Finck extern "C" {
26*c2c66affSColin Finck #endif
27*c2c66affSColin Finck
28*c2c66affSColin Finck #define TAD_ALL_ROWS 1 /* Delete all rows */
29*c2c66affSColin Finck
30*c2c66affSColin Finck LPMALLOC WINAPI MAPIGetDefaultMalloc(void);
31*c2c66affSColin Finck
32*c2c66affSColin Finck #define SOF_UNIQUEFILENAME 0x80000000U /* Create a unique (temporary) filename */
33*c2c66affSColin Finck
34*c2c66affSColin Finck #if defined (UNICODE) || defined (__WINESRC__)
35*c2c66affSColin Finck typedef HRESULT (WINAPI * LPOPENSTREAMONFILE)(LPALLOCATEBUFFER,LPFREEBUFFER,
36*c2c66affSColin Finck ULONG,LPWSTR,LPWSTR,LPSTREAM*);
37*c2c66affSColin Finck HRESULT WINAPI OpenStreamOnFile(LPALLOCATEBUFFER,LPFREEBUFFER,
38*c2c66affSColin Finck ULONG,LPWSTR,LPWSTR,LPSTREAM*);
39*c2c66affSColin Finck #else
40*c2c66affSColin Finck typedef HRESULT (WINAPI * LPOPENSTREAMONFILE)(LPALLOCATEBUFFER,LPFREEBUFFER,
41*c2c66affSColin Finck ULONG,LPSTR,LPSTR,LPSTREAM*);
42*c2c66affSColin Finck HRESULT WINAPI OpenStreamOnFile(LPALLOCATEBUFFER,LPFREEBUFFER,
43*c2c66affSColin Finck ULONG,LPSTR,LPSTR,LPSTREAM*);
44*c2c66affSColin Finck #endif
45*c2c66affSColin Finck #define OPENSTREAMONFILE "OpenStreamOnFile"
46*c2c66affSColin Finck
47*c2c66affSColin Finck BOOL WINAPI FEqualNames(LPMAPINAMEID,LPMAPINAMEID);
48*c2c66affSColin Finck
49*c2c66affSColin Finck typedef struct IPropData *LPPROPDATA;
50*c2c66affSColin Finck
51*c2c66affSColin Finck #define IPROP_READONLY 0x00001U
52*c2c66affSColin Finck #define IPROP_READWRITE 0x00002U
53*c2c66affSColin Finck #define IPROP_CLEAN 0x10000U
54*c2c66affSColin Finck #define IPROP_DIRTY 0x20000U
55*c2c66affSColin Finck
56*c2c66affSColin Finck SCODE WINAPI CreateIProp(LPCIID,ALLOCATEBUFFER*,ALLOCATEMORE*,FREEBUFFER*,
57*c2c66affSColin Finck LPVOID,LPPROPDATA*);
58*c2c66affSColin Finck SCODE WINAPI PropCopyMore(LPSPropValue,LPSPropValue,ALLOCATEMORE*,LPVOID);
59*c2c66affSColin Finck ULONG WINAPI UlPropSize(LPSPropValue);
60*c2c66affSColin Finck VOID WINAPI GetInstance(LPSPropValue,LPSPropValue,ULONG);
61*c2c66affSColin Finck BOOL WINAPI FPropContainsProp(LPSPropValue,LPSPropValue,ULONG);
62*c2c66affSColin Finck BOOL WINAPI FPropCompareProp(LPSPropValue,ULONG,LPSPropValue);
63*c2c66affSColin Finck LONG WINAPI LPropCompareProp(LPSPropValue,LPSPropValue);
64*c2c66affSColin Finck
65*c2c66affSColin Finck HRESULT WINAPI HrAddColumns(LPMAPITABLE,LPSPropTagArray,LPALLOCATEBUFFER,LPFREEBUFFER);
66*c2c66affSColin Finck HRESULT WINAPI HrAddColumnsEx(LPMAPITABLE,LPSPropTagArray,LPALLOCATEBUFFER,
67*c2c66affSColin Finck LPFREEBUFFER,void (*)(LPSPropTagArray));
68*c2c66affSColin Finck HRESULT WINAPI HrAllocAdviseSink(LPNOTIFCALLBACK,LPVOID,LPMAPIADVISESINK*);
69*c2c66affSColin Finck HRESULT WINAPI HrThisThreadAdviseSink(LPMAPIADVISESINK,LPMAPIADVISESINK*);
70*c2c66affSColin Finck HRESULT WINAPI HrDispatchNotifications (ULONG);
71*c2c66affSColin Finck
72*c2c66affSColin Finck ULONG WINAPI UlAddRef(void*);
73*c2c66affSColin Finck ULONG WINAPI UlRelease(void*);
74*c2c66affSColin Finck
75*c2c66affSColin Finck HRESULT WINAPI HrGetOneProp(LPMAPIPROP,ULONG,LPSPropValue*);
76*c2c66affSColin Finck HRESULT WINAPI HrSetOneProp(LPMAPIPROP,LPSPropValue);
77*c2c66affSColin Finck BOOL WINAPI FPropExists(LPMAPIPROP,ULONG);
78*c2c66affSColin Finck void WINAPI FreePadrlist(LPADRLIST);
79*c2c66affSColin Finck void WINAPI FreeProws(LPSRowSet);
80*c2c66affSColin Finck HRESULT WINAPI HrQueryAllRows(LPMAPITABLE,LPSPropTagArray,LPSRestriction,
81*c2c66affSColin Finck LPSSortOrderSet,LONG,LPSRowSet*);
82*c2c66affSColin Finck LPSPropValue WINAPI PpropFindProp(LPSPropValue,ULONG,ULONG);
83*c2c66affSColin Finck
84*c2c66affSColin Finck #if defined (UNICODE) || defined (__WINESRC__)
85*c2c66affSColin Finck BOOL WINAPI FBinFromHex(LPWSTR,LPBYTE);
86*c2c66affSColin Finck SCODE WINAPI ScBinFromHexBounded(LPWSTR,LPBYTE,ULONG);
87*c2c66affSColin Finck void WINAPI HexFromBin(LPBYTE,int,LPWSTR);
88*c2c66affSColin Finck ULONG WINAPI UlFromSzHex(LPCWSTR);
89*c2c66affSColin Finck LPWSTR WINAPI SzFindCh(LPCWSTR,USHORT);
90*c2c66affSColin Finck LPWSTR WINAPI SzFindLastCh(LPCWSTR,USHORT);
91*c2c66affSColin Finck LPWSTR WINAPI SzFindSz(LPCWSTR,LPCWSTR);
92*c2c66affSColin Finck UINT WINAPI UFromSz(LPCSTR);
93*c2c66affSColin Finck #else
94*c2c66affSColin Finck BOOL WINAPI FBinFromHex(LPSTR,LPBYTE);
95*c2c66affSColin Finck SCODE WINAPI ScBinFromHexBounded(LPSTR,LPBYTE,ULONG);
96*c2c66affSColin Finck void WINAPI HexFromBin(LPBYTE,int,LPSTR);
97*c2c66affSColin Finck ULONG WINAPI UlFromSzHex(LPCSTR);
98*c2c66affSColin Finck LPSTR WINAPI SzFindCh(LPCSTR,USHORT);
99*c2c66affSColin Finck LPSTR WINAPI SzFindLastCh(LPCSTR,USHORT);
100*c2c66affSColin Finck LPSTR WINAPI SzFindSz(LPCSTR,LPCSTR);
101*c2c66affSColin Finck UINT WINAPI UFromSz(LPCSTR);
102*c2c66affSColin Finck #endif
103*c2c66affSColin Finck
104*c2c66affSColin Finck SCODE WINAPI ScInitMapiUtil(ULONG);
105*c2c66affSColin Finck void WINAPI DeinitMapiUtil(void);
106*c2c66affSColin Finck
107*c2c66affSColin Finck #define szHrDispatchNotifications "_HrDispatchNotifications@4"
108*c2c66affSColin Finck #define szScCreateConversationIndex "_ScCreateConversationIndex@16"
109*c2c66affSColin Finck
110*c2c66affSColin Finck typedef HRESULT (WINAPI DISPATCHNOTIFICATIONS)(ULONG);
111*c2c66affSColin Finck typedef DISPATCHNOTIFICATIONS *LPDISPATCHNOTIFICATIONS;
112*c2c66affSColin Finck typedef SCODE (WINAPI CREATECONVERSATIONINDEX)(ULONG,LPBYTE,ULONG*,LPBYTE*);
113*c2c66affSColin Finck typedef CREATECONVERSATIONINDEX *LPCREATECONVERSATIONINDEX;
114*c2c66affSColin Finck
115*c2c66affSColin Finck typedef struct ITableData *LPTABLEDATA;
116*c2c66affSColin Finck
117*c2c66affSColin Finck typedef void (WINAPI CALLERRELEASE)(ULONG,LPTABLEDATA,LPMAPITABLE);
118*c2c66affSColin Finck
119*c2c66affSColin Finck /*****************************************************************************
120*c2c66affSColin Finck * ITableData interface
121*c2c66affSColin Finck *
122*c2c66affSColin Finck * The underlying table data structure for IMAPITable.
123*c2c66affSColin Finck */
124*c2c66affSColin Finck #define INTERFACE ITableData
DECLARE_INTERFACE_(ITableData,IUnknown)125*c2c66affSColin Finck DECLARE_INTERFACE_(ITableData,IUnknown)
126*c2c66affSColin Finck {
127*c2c66affSColin Finck /*** IUnknown methods ***/
128*c2c66affSColin Finck STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
129*c2c66affSColin Finck STDMETHOD_(ULONG,AddRef)(THIS) PURE;
130*c2c66affSColin Finck STDMETHOD_(ULONG,Release)(THIS) PURE;
131*c2c66affSColin Finck /*** ITableData methods ***/
132*c2c66affSColin Finck STDMETHOD(HrGetView)(THIS_ LPSSortOrderSet lpSort, CALLERRELEASE *lpRel,
133*c2c66affSColin Finck ULONG ulData, LPMAPITABLE *lppTable) PURE;
134*c2c66affSColin Finck STDMETHOD(HrModifyRow)(THIS_ LPSRow lpRow) PURE;
135*c2c66affSColin Finck STDMETHOD(HrDeleteRow)(THIS_ LPSPropValue lpKey) PURE;
136*c2c66affSColin Finck STDMETHOD(HrQueryRow)(THIS_ LPSPropValue lpKey, LPSRow *lppRow, ULONG *lpRowNum) PURE;
137*c2c66affSColin Finck STDMETHOD(HrEnumRow)(THIS_ ULONG ulRowNum, LPSRow *lppRow) PURE;
138*c2c66affSColin Finck STDMETHOD(HrNotify)(THIS_ ULONG ulFlags, ULONG cValues, LPSPropValue lpValues) PURE;
139*c2c66affSColin Finck STDMETHOD(HrInsertRow)(THIS_ ULONG ulRow, LPSRow lpRow) PURE;
140*c2c66affSColin Finck STDMETHOD(HrModifyRows)(THIS_ ULONG ulFlags, LPSRowSet lpRows) PURE;
141*c2c66affSColin Finck STDMETHOD(HrDeleteRows)(THIS_ ULONG ulFlags, LPSRowSet lpRows, ULONG *lpCount) PURE;
142*c2c66affSColin Finck };
143*c2c66affSColin Finck #undef INTERFACE
144*c2c66affSColin Finck
145*c2c66affSColin Finck #if !defined(__cplusplus) || defined(CINTERFACE)
146*c2c66affSColin Finck /*** IUnknown methods ***/
147*c2c66affSColin Finck #define ITableData_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
148*c2c66affSColin Finck #define ITableData_AddRef(p) (p)->lpVtbl->AddRef(p)
149*c2c66affSColin Finck #define ITableData_Release(p) (p)->lpVtbl->Release(p)
150*c2c66affSColin Finck /*** ITableData methods ***/
151*c2c66affSColin Finck #define ITableData_HrGetView(p,a,b,c,d) (p)->lpVtbl->HrGetView(p,a,b,c,d)
152*c2c66affSColin Finck #define ITableData_HrModifyRow(p,a) (p)->lpVtbl->HrModifyRow(p,a)
153*c2c66affSColin Finck #define ITableData_HrDeleteRow(p,a) (p)->lpVtbl->HrDeleteRow(p,a)
154*c2c66affSColin Finck #define ITableData_HrQueryRow(p,a,b,c) (p)->lpVtbl->HrQueryRow(p,a,b,c)
155*c2c66affSColin Finck #define ITableData_HrEnumRow(p,a,b) (p)->lpVtbl->HrEnumRow(p,a,b)
156*c2c66affSColin Finck #define ITableData_HrNotify(p,a,b,c) (p)->lpVtbl->HrNotify(p,a,b,c)
157*c2c66affSColin Finck #define ITableData_HrInsertRow(p,a,b) (p)->lpVtbl->HrInsertRow(p,a,b)
158*c2c66affSColin Finck #define ITableData_HrModifyRows(p,a,b) (p)->lpVtbl->HrModifyRows(p,a,b)
159*c2c66affSColin Finck #define ITableData_HrDeleteRows(p,a,b,c) (p)->lpVtbl->HrDeleteRows(p,a,b,c)
160*c2c66affSColin Finck #endif
161*c2c66affSColin Finck
162*c2c66affSColin Finck SCODE WINAPI CreateTable(LPCIID,ALLOCATEBUFFER*,ALLOCATEMORE*,FREEBUFFER*,
163*c2c66affSColin Finck LPVOID,ULONG,ULONG,LPSPropTagArray,LPTABLEDATA*);
164*c2c66affSColin Finck
165*c2c66affSColin Finck SCODE WINAPI ScCountNotifications(int,LPNOTIFICATION,ULONG*);
166*c2c66affSColin Finck SCODE WINAPI ScCountProps(int,LPSPropValue,ULONG*);
167*c2c66affSColin Finck SCODE WINAPI ScCopyNotifications(int,LPNOTIFICATION,LPVOID,ULONG*);
168*c2c66affSColin Finck SCODE WINAPI ScCopyProps(int,LPSPropValue,LPVOID,ULONG*);
169*c2c66affSColin Finck SCODE WINAPI ScDupPropset(int,LPSPropValue,LPALLOCATEBUFFER,LPSPropValue*);
170*c2c66affSColin Finck SCODE WINAPI ScRelocNotifications(int,LPNOTIFICATION,LPVOID,LPVOID,ULONG*);
171*c2c66affSColin Finck SCODE WINAPI ScRelocProps(int,LPSPropValue,LPVOID,LPVOID,ULONG*);
172*c2c66affSColin Finck
173*c2c66affSColin Finck LPSPropValue WINAPI LpValFindProp(ULONG,ULONG,LPSPropValue);
174*c2c66affSColin Finck
FtAddFt(FILETIME ftLeft,FILETIME ftRight)175*c2c66affSColin Finck static inline FILETIME FtAddFt(FILETIME ftLeft, FILETIME ftRight)
176*c2c66affSColin Finck {
177*c2c66affSColin Finck LONG64 *pl = (LONG64*)&ftLeft, *pr = (LONG64*)&ftRight;
178*c2c66affSColin Finck union { FILETIME ft; LONG64 ll; } ftmap;
179*c2c66affSColin Finck ftmap.ll = *pl + *pr;
180*c2c66affSColin Finck return ftmap.ft;
181*c2c66affSColin Finck }
182*c2c66affSColin Finck
FtSubFt(FILETIME ftLeft,FILETIME ftRight)183*c2c66affSColin Finck static inline FILETIME FtSubFt(FILETIME ftLeft, FILETIME ftRight)
184*c2c66affSColin Finck {
185*c2c66affSColin Finck LONG64 *pl = (LONG64*)&ftLeft, *pr = (LONG64*)&ftRight;
186*c2c66affSColin Finck union { FILETIME ft; LONG64 ll; } ftmap;
187*c2c66affSColin Finck ftmap.ll = *pl - *pr;
188*c2c66affSColin Finck return ftmap.ft;
189*c2c66affSColin Finck }
190*c2c66affSColin Finck
FtNegFt(FILETIME ftLeft)191*c2c66affSColin Finck static inline FILETIME FtNegFt(FILETIME ftLeft)
192*c2c66affSColin Finck {
193*c2c66affSColin Finck LONG64 *p = (LONG64*)&ftLeft;
194*c2c66affSColin Finck union { FILETIME ft; LONG64 ll; } ftmap;
195*c2c66affSColin Finck ftmap.ll = -*p;
196*c2c66affSColin Finck return ftmap.ft;
197*c2c66affSColin Finck }
198*c2c66affSColin Finck
FtMulDw(DWORD dwLeft,FILETIME ftRight)199*c2c66affSColin Finck static inline FILETIME FtMulDw(DWORD dwLeft, FILETIME ftRight)
200*c2c66affSColin Finck {
201*c2c66affSColin Finck LONG64 l = (LONG64)dwLeft, *pr = (LONG64*)&ftRight;
202*c2c66affSColin Finck union { FILETIME ft; LONG64 ll; } ftmap;
203*c2c66affSColin Finck ftmap.ll = l * (*pr);
204*c2c66affSColin Finck return ftmap.ft;
205*c2c66affSColin Finck }
206*c2c66affSColin Finck
FtMulDwDw(DWORD dwLeft,DWORD dwRight)207*c2c66affSColin Finck static inline FILETIME FtMulDwDw(DWORD dwLeft, DWORD dwRight)
208*c2c66affSColin Finck {
209*c2c66affSColin Finck LONG64 l = (LONG64)dwLeft, r = (LONG64)dwRight;
210*c2c66affSColin Finck union { FILETIME ft; LONG64 ll; } ftmap;
211*c2c66affSColin Finck ftmap.ll = l * r;
212*c2c66affSColin Finck return ftmap.ft;
213*c2c66affSColin Finck }
214*c2c66affSColin Finck
215*c2c66affSColin Finck /*****************************************************************************
216*c2c66affSColin Finck * IPropData interface
217*c2c66affSColin Finck *
218*c2c66affSColin Finck */
219*c2c66affSColin Finck #define INTERFACE IPropData
DECLARE_INTERFACE_(IPropData,IMAPIProp)220*c2c66affSColin Finck DECLARE_INTERFACE_(IPropData,IMAPIProp)
221*c2c66affSColin Finck {
222*c2c66affSColin Finck /*** IUnknown methods ***/
223*c2c66affSColin Finck STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
224*c2c66affSColin Finck STDMETHOD_(ULONG,AddRef)(THIS) PURE;
225*c2c66affSColin Finck STDMETHOD_(ULONG,Release)(THIS) PURE;
226*c2c66affSColin Finck /*** IMAPIProp methods ***/
227*c2c66affSColin Finck STDMETHOD(GetLastError)(THIS_ HRESULT hRes, ULONG ulFlags, LPMAPIERROR *lppErr) PURE;
228*c2c66affSColin Finck STDMETHOD(SaveChanges)(THIS_ ULONG ulFlags) PURE;
229*c2c66affSColin Finck STDMETHOD(GetProps)(THIS_ LPSPropTagArray lpPropTags, ULONG ulFlags, ULONG *lpValues, LPSPropValue *lppProps) PURE;
230*c2c66affSColin Finck STDMETHOD(GetPropList)(THIS_ ULONG ulFlags, LPSPropTagArray *lppPropTagArray) PURE;
231*c2c66affSColin Finck STDMETHOD(OpenProperty)(THIS_ ULONG ulPropTag, LPCIID lpIid, ULONG ulOpts, ULONG ulFlags, LPUNKNOWN *lppUnk) PURE;
232*c2c66affSColin Finck STDMETHOD(SetProps)(THIS_ ULONG cValues, LPSPropValue lpProps, LPSPropProblemArray *lppProbs) PURE;
233*c2c66affSColin Finck STDMETHOD(DeleteProps)(THIS_ LPSPropTagArray lpPropTags, LPSPropProblemArray *lppProbs) PURE;
234*c2c66affSColin Finck STDMETHOD(CopyTo)(THIS_ ULONG ciidExclude, LPCIID lpIid, LPSPropTagArray lpProps, ULONG ulParam,
235*c2c66affSColin Finck LPMAPIPROGRESS lpProgress, LPCIID lpIface,LPVOID lpDest, ULONG ulFlags,
236*c2c66affSColin Finck LPSPropProblemArray *lppProbs) PURE;
237*c2c66affSColin Finck STDMETHOD(CopyProps)(THIS_ LPSPropTagArray lpIncludeProps, ULONG ulParam, LPMAPIPROGRESS lpProgress,
238*c2c66affSColin Finck LPCIID lpIid, LPVOID lpDestObj, ULONG ulFlags, LPSPropProblemArray *lppProblems) PURE;
239*c2c66affSColin Finck STDMETHOD(GetNamesFromIDs)(THIS_ LPSPropTagArray *lppPropTags, LPGUID lpIid, ULONG ulFlags, ULONG *lpCount,
240*c2c66affSColin Finck LPMAPINAMEID **lpppNames) PURE;
241*c2c66affSColin Finck STDMETHOD(GetIDsFromNames)(THIS_ ULONG cPropNames, LPMAPINAMEID *lppNames, ULONG ulFlags, LPSPropTagArray *lppPropTags) PURE;
242*c2c66affSColin Finck /*** IPropData methods ***/
243*c2c66affSColin Finck STDMETHOD(HrSetObjAccess)(THIS_ ULONG ulAccess) PURE;
244*c2c66affSColin Finck STDMETHOD(HrSetPropAccess)(THIS_ LPSPropTagArray lpPropTags, ULONG *lpAccess) PURE;
245*c2c66affSColin Finck STDMETHOD(HrGetPropAccess)(THIS_ LPSPropTagArray *lppPropTags, ULONG **lppAccess) PURE;
246*c2c66affSColin Finck STDMETHOD(HrAddObjProps)(THIS_ LPSPropTagArray lppPropTags, LPSPropProblemArray *lppProbs) PURE;
247*c2c66affSColin Finck };
248*c2c66affSColin Finck #undef INTERFACE
249*c2c66affSColin Finck
250*c2c66affSColin Finck #if !defined(__cplusplus) || defined(CINTERFACE)
251*c2c66affSColin Finck /*** IUnknown methods ***/
252*c2c66affSColin Finck #define IPropData_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
253*c2c66affSColin Finck #define IPropData_AddRef(p) (p)->lpVtbl->AddRef(p)
254*c2c66affSColin Finck #define IPropData_Release(p) (p)->lpVtbl->Release(p)
255*c2c66affSColin Finck /*** IMAPIProp methods ***/
256*c2c66affSColin Finck #define IPropData_GetLastError(p,a,b,c) (p)->lpVtbl->GetLastError(p,a,b,c)
257*c2c66affSColin Finck #define IPropData_SaveChanges(p,a) (p)->lpVtbl->SaveChanges(p,a)
258*c2c66affSColin Finck #define IPropData_GetProps(p,a,b,c,d) (p)->lpVtbl->GetProps(p,a,b,c,d)
259*c2c66affSColin Finck #define IPropData_GetPropList(p,a,b) (p)->lpVtbl->GetPropList(p,a,b)
260*c2c66affSColin Finck #define IPropData_OpenProperty(p,a,b,c,d,e) (p)->lpVtbl->OpenProperty(p,a,b,c,d,e)
261*c2c66affSColin Finck #define IPropData_SetProps(p,a,b,c) (p)->lpVtbl->SetProps(p,a,b,c)
262*c2c66affSColin Finck #define IPropData_DeleteProps(p,a,b) (p)->lpVtbl->DeleteProps(p,a,b)
263*c2c66affSColin Finck #define IPropData_CopyTo(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CopyTo(p,a,b,c,d,e,f,g,h,i)
264*c2c66affSColin Finck #define IPropData_CopyProps(p,a,b,c,d,e,f,g) (p)->lpVtbl->CopyProps(p,a,b,c,d,e,f,g)
265*c2c66affSColin Finck #define IPropData_GetNamesFromIDs(p,a,b,c,d,e) (p)->lpVtbl->GetNamesFromIDs(p,a,b,c,d,e)
266*c2c66affSColin Finck #define IPropData_GetIDsFromNames(p,a,b,c,d) (p)->lpVtbl->GetIDsFromNames(p,a,b,c,d)
267*c2c66affSColin Finck #define IPropData_HrSetObjAccess(p,a) (p)->lpVtbl->HrSetObjAccess(p,a)
268*c2c66affSColin Finck #define IPropData_HrSetPropAccess(p,a,b) (p)->lpVtbl->HrSetPropAccess(p,a,b)
269*c2c66affSColin Finck #define IPropData_HrGetPropAccess(p,a,b) (p)->lpVtbl->HrGetPropAccess(p,a,b)
270*c2c66affSColin Finck #define IPropData_HrAddObjProps(p,a,b) (p)->lpVtbl->HrAddObjProps(p,a,b)
271*c2c66affSColin Finck #endif
272*c2c66affSColin Finck
273*c2c66affSColin Finck #ifdef __cplusplus
274*c2c66affSColin Finck }
275*c2c66affSColin Finck #endif
276*c2c66affSColin Finck
277*c2c66affSColin Finck #endif /* MAPIUTIL_H_ */
278