ReactOS  0.4.15-dev-2704-gd5265b0
mapival.h
Go to the documentation of this file.
1 /*
2  * Copyright 2004 Jon Griffiths
3  *
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.
8  *
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.
13  *
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
17  */
18 
19 #ifndef MAPIVAL_H
20 #define MAPIVAL_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #include <mapiutil.h>
27 #include <stddef.h>
28 #include <stdarg.h>
29 
40 
41 #define FBadRgPropVal(p,n) FAILED(ScCountProps((n),(p),NULL))
42 #define FBadPropVal(p) FBadRgPropVal(1,(p))
43 #define FBadAdrList(p) FBadRowSet((LPSRowSet)(p))
44 
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
61 
62 #define ValidateParms(x) do { } while(0)
63 #define UlValidateParms(x) do { } while(0)
64 #define CheckParms(x) do { } while(0)
65 
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)
82 
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)
99 
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)
116 
117 #ifdef __cplusplus
118 }
119 #endif
120 
121 #endif /* MAPIVAL_H */
BOOL WINAPI FBadEntryList(LPENTRYLIST)
Definition: util.c:796
ULONG WINAPI FBadProp(LPSPropValue)
Definition: prop.c:1288
ULONG WINAPI FBadSortOrderSet(LPSSortOrderSet)
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL WINAPI FBadRowSet(LPSRowSet)
Definition: prop.c:1194
ULONG WINAPI FBadRow(LPSRow)
Definition: prop.c:1260
BOOL WINAPI FBadRglpszW(LPWSTR *, ULONG)
Definition: prop.c:1163
ULONG WINAPI FBadRestriction(LPSRestriction)
ULONG WINAPI FBadPropTag(ULONG)
Definition: prop.c:1221
#define WINAPI
Definition: msvc.h:6
BOOL WINAPI FBadRglpNameID(LPMAPINAMEID *, ULONG)
unsigned int ULONG
Definition: retypes.h:1
WCHAR * LPWSTR
Definition: xmlstorage.h:184
ULONG WINAPI FBadColumnSet(LPSPropTagArray)
Definition: prop.c:1357