xmllite/tests: Fix a memory leak (Valgrind).
[wine.git] / include / mapival.h
blobe44c21e53e41b6cf8957549c5d27ef241411b895
1 /*
2 * Copyright 2004 Jon Griffiths
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef MAPIVAL_H
20 #define MAPIVAL_H
22 #include <mapiutil.h>
23 #include <stddef.h>
24 #include <stdarg.h>
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
30 BOOL WINAPI FBadRglpszW(LPWSTR*,ULONG);
31 BOOL WINAPI FBadRowSet(LPSRowSet);
32 BOOL WINAPI FBadRglpNameID(LPMAPINAMEID*,ULONG);
33 BOOL WINAPI FBadEntryList(LPENTRYLIST);
34 ULONG WINAPI FBadRestriction(LPSRestriction);
35 ULONG WINAPI FBadPropTag(ULONG);
36 ULONG WINAPI FBadRow(LPSRow);
37 ULONG WINAPI FBadProp(LPSPropValue);
38 ULONG WINAPI FBadSortOrderSet(LPSSortOrderSet);
39 ULONG WINAPI FBadColumnSet(LPSPropTagArray);
41 #define FBadRgPropVal(p,n) FAILED(ScCountProps((n),(p),NULL))
42 #define FBadPropVal(p) FBadRgPropVal(1,(p))
43 #define FBadAdrList(p) FBadRowSet((LPSRowSet)(p))
45 #define BAD_STANDARD_OBJ(a,b,c,d) FALSE
46 #define FBadUnknown(a) FALSE
47 #define FBadQueryInterface(a,b,c) FALSE
48 #define FBadAddRef(a) FALSE
49 #define FBadRelease(a) FALSE
50 #define FBadGetLastError(a,b,c,d) FALSE
51 #define FBadSaveChanges(a,b) FALSE
52 #define FBadGetProps(a,b,c,d) FALSE
53 #define FBadGetPropList(a,b) FALSE
54 #define FBadOpenProperty(a,b,c,d,e,f) FALSE
55 #define FBadSetProps(a,b,c,d) FALSE
56 #define FBadDeleteProps(a,b,c) FALSE
57 #define FBadCopyTo(a,b,c,d,e,f,g,h,i,j) FALSE
58 #define FBadCopyProps(a,b,c,d,e,f,g,h) FALSE
59 #define FBadGetNamesFromIDs(a,b,c,d,e,f) FALSE
60 #define FBadGetIDsFromNames(a,b,c,d,e) FALSE
62 #define ValidateParms(x) do { } while(0)
63 #define UlValidateParms(x) do { } while(0)
64 #define CheckParms(x) do { } while(0)
66 #define ValidateParameters1(a,b) do { } while(0)
67 #define ValidateParameters2(a,b,c) do { } while(0)
68 #define ValidateParameters3(a,b,c,d) do { } while(0)
69 #define ValidateParameters4(a,b,c,d,e) do { } while(0)
70 #define ValidateParameters5(a,b,c,d,e,f) do { } while(0)
71 #define ValidateParameters6(a,b,c,d,e,f,g) do { } while(0)
72 #define ValidateParameters7(a,b,c,d,e,f,g,h) do { } while(0)
73 #define ValidateParameters8(a,b,c,d,e,f,g,h,i) do { } while(0)
74 #define ValidateParameters9(a,b,c,d,e,f,g,h,i,j) do { } while(0)
75 #define ValidateParameters10(a,b,c,d,e,f,g,h,i,j,k) do { } while(0)
76 #define ValidateParameters11(a,b,c,d,e,f,g,h,i,j,k,l) do { } while(0)
77 #define ValidateParameters12(a,b,c,d,e,f,g,h,i,j,k,l,m) do { } while(0)
78 #define ValidateParameters13(a,b,c,d,e,f,g,h,i,j,k,l,m,n) do { } while(0)
79 #define ValidateParameters14(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) do { } while(0)
80 #define ValidateParameters15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) do { } while(0)
81 #define ValidateParameters16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) do { } while(0)
83 #define UlValidateParameters1(a,b) do { } while(0)
84 #define UlValidateParameters2(a,b,c) do { } while(0)
85 #define UlValidateParameters3(a,b,c,d) do { } while(0)
86 #define UlValidateParameters4(a,b,c,d,e) do { } while(0)
87 #define UlValidateParameters5(a,b,c,d,e,f) do { } while(0)
88 #define UlValidateParameters6(a,b,c,d,e,f,g) do { } while(0)
89 #define UlValidateParameters7(a,b,c,d,e,f,g,h) do { } while(0)
90 #define UlValidateParameters8(a,b,c,d,e,f,g,h,i) do { } while(0)
91 #define UlValidateParameters9(a,b,c,d,e,f,g,h,i,j) do { } while(0)
92 #define UlValidateParameters10(a,b,c,d,e,f,g,h,i,j,k) do { } while(0)
93 #define UlValidateParameters11(a,b,c,d,e,f,g,h,i,j,k,l) do { } while(0)
94 #define UlValidateParameters12(a,b,c,d,e,f,g,h,i,j,k,l,m) do { } while(0)
95 #define UlValidateParameters13(a,b,c,d,e,f,g,h,i,j,k,l,m,n) do { } while(0)
96 #define UlValidateParameters14(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) do { } while(0)
97 #define UlValidateParameters15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) do { } while(0)
98 #define UlValidateParameters16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) do { } while(0)
100 #define CheckParameters1(a,b) do { } while(0)
101 #define CheckParameters2(a,b,c) do { } while(0)
102 #define CheckParameters3(a,b,c,d) do { } while(0)
103 #define CheckParameters4(a,b,c,d,e) do { } while(0)
104 #define CheckParameters5(a,b,c,d,e,f) do { } while(0)
105 #define CheckParameters6(a,b,c,d,e,f,g) do { } while(0)
106 #define CheckParameters7(a,b,c,d,e,f,g,h) do { } while(0)
107 #define CheckParameters8(a,b,c,d,e,f,g,h,i) do { } while(0)
108 #define CheckParameters9(a,b,c,d,e,f,g,h,i,j) do { } while(0)
109 #define CheckParameters10(a,b,c,d,e,f,g,h,i,j,k) do { } while(0)
110 #define CheckParameters11(a,b,c,d,e,f,g,h,i,j,k,l) do { } while(0)
111 #define CheckParameters12(a,b,c,d,e,f,g,h,i,j,k,l,m) do { } while(0)
112 #define CheckParameters13(a,b,c,d,e,f,g,h,i,j,k,l,m,n) do { } while(0)
113 #define CheckParameters14(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) do { } while(0)
114 #define CheckParameters15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) do { } while(0)
115 #define CheckParameters16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) do { } while(0)
117 #ifdef __cplusplus
119 #endif
121 #endif /* MAPIVAL_H */