Replaced slow and outdated character set handling in RTF reader by
[wine/multimedia.git] / include / mapival.h
blob465f9e4a7a8d46d16f1625d79a84dafb5c2d8267
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef MAPIVAL_H
20 #define MAPIVAL_H
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
26 #include <mapiutil.h>
28 BOOL WINAPI FBadRglpszW(LPWSTR*,ULONG);
29 BOOL WINAPI FBadRowSet(LPSRowSet);
30 BOOL WINAPI FBadRglpNameID(LPMAPINAMEID*,ULONG);
31 BOOL WINAPI FBadEntryList(LPENTRYLIST);
32 ULONG WINAPI FBadRestriction(LPSRestriction);
33 ULONG WINAPI FBadPropTag(ULONG);
34 ULONG WINAPI FBadRow(LPSRow);
35 ULONG WINAPI FBadProp(LPSPropValue);
36 ULONG WINAPI FBadSortOrderSet(LPSSortOrderSet);
37 ULONG WINAPI FBadColumnSet(LPSPropTagArray);
39 #define FBadRgPropVal(p,n) FAILED(ScCountProps((n),(p),NULL))
40 #define FBadPropVal(p) FBadRgPropVal(1,(p))
41 #define FBadAdrList(p) FBadRowSet((LPSRowSet)(p))
43 #define BAD_STANDARD_OBJ(a,b,c,d) FALSE
44 #define FBadUnknown(a) FALSE
45 #define FBadQueryInterface(a,b,c) FALSE
46 #define FBadAddRef(a) FALSE
47 #define FBadRelease(a) FALSE
48 #define FBadGetLastError(a,b,c,d) FALSE
49 #define FBadSaveChanges(a,b) FALSE
50 #define FBadGetProps(a,b,c,d) FALSE
51 #define FBadGetPropList(a,b) FALSE
52 #define FBadOpenProperty(a,b,c,d,e,f) FALSE
53 #define FBadSetProps(a,b,c,d) FALSE
54 #define FBadDeleteProps(a,b,c) FALSE
55 #define FBadCopyTo(a,b,c,d,e,f,g,h,i,j) FALSE
56 #define FBadCopyProps(a,b,c,d,e,f,g,h) FALSE
57 #define FBadGetNamesFromIDs(a,b,c,d,e,f) FALSE
58 #define FBadGetIDsFromNames(a,b,c,d,e) FALSE
60 #define ValidateParms(x) do { } while(0)
61 #define UlValidateParms(x) do { } while(0)
62 #define CheckParms(x) do { } while(0)
64 #define ValidateParameters1(a,b) do { } while(0)
65 #define ValidateParameters2(a,b,c) do { } while(0)
66 #define ValidateParameters3(a,b,c,d) do { } while(0)
67 #define ValidateParameters4(a,b,c,d,e) do { } while(0)
68 #define ValidateParameters5(a,b,c,d,e,f) do { } while(0)
69 #define ValidateParameters6(a,b,c,d,e,f,g) do { } while(0)
70 #define ValidateParameters7(a,b,c,d,e,f,g,h) do { } while(0)
71 #define ValidateParameters8(a,b,c,d,e,f,g,h,i) do { } while(0)
72 #define ValidateParameters9(a,b,c,d,e,f,g,h,i,j) do { } while(0)
73 #define ValidateParameters10(a,b,c,d,e,f,g,h,i,j,k) do { } while(0)
74 #define ValidateParameters11(a,b,c,d,e,f,g,h,i,j,k,l) do { } while(0)
75 #define ValidateParameters12(a,b,c,d,e,f,g,h,i,j,k,l,m) do { } while(0)
76 #define ValidateParameters13(a,b,c,d,e,f,g,h,i,j,k,l,m,n) do { } while(0)
77 #define ValidateParameters14(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) do { } while(0)
78 #define ValidateParameters15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) do { } while(0)
79 #define ValidateParameters16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) do { } while(0)
81 #define UlValidateParameters1(a,b) do { } while(0)
82 #define UlValidateParameters2(a,b,c) do { } while(0)
83 #define UlValidateParameters3(a,b,c,d) do { } while(0)
84 #define UlValidateParameters4(a,b,c,d,e) do { } while(0)
85 #define UlValidateParameters5(a,b,c,d,e,f) do { } while(0)
86 #define UlValidateParameters6(a,b,c,d,e,f,g) do { } while(0)
87 #define UlValidateParameters7(a,b,c,d,e,f,g,h) do { } while(0)
88 #define UlValidateParameters8(a,b,c,d,e,f,g,h,i) do { } while(0)
89 #define UlValidateParameters9(a,b,c,d,e,f,g,h,i,j) do { } while(0)
90 #define UlValidateParameters10(a,b,c,d,e,f,g,h,i,j,k) do { } while(0)
91 #define UlValidateParameters11(a,b,c,d,e,f,g,h,i,j,k,l) do { } while(0)
92 #define UlValidateParameters12(a,b,c,d,e,f,g,h,i,j,k,l,m) do { } while(0)
93 #define UlValidateParameters13(a,b,c,d,e,f,g,h,i,j,k,l,m,n) do { } while(0)
94 #define UlValidateParameters14(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) do { } while(0)
95 #define UlValidateParameters15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) do { } while(0)
96 #define UlValidateParameters16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) do { } while(0)
98 #define CheckParameters1(a,b) do { } while(0)
99 #define CheckParameters2(a,b,c) do { } while(0)
100 #define CheckParameters3(a,b,c,d) do { } while(0)
101 #define CheckParameters4(a,b,c,d,e) do { } while(0)
102 #define CheckParameters5(a,b,c,d,e,f) do { } while(0)
103 #define CheckParameters6(a,b,c,d,e,f,g) do { } while(0)
104 #define CheckParameters7(a,b,c,d,e,f,g,h) do { } while(0)
105 #define CheckParameters8(a,b,c,d,e,f,g,h,i) do { } while(0)
106 #define CheckParameters9(a,b,c,d,e,f,g,h,i,j) do { } while(0)
107 #define CheckParameters10(a,b,c,d,e,f,g,h,i,j,k) do { } while(0)
108 #define CheckParameters11(a,b,c,d,e,f,g,h,i,j,k,l) do { } while(0)
109 #define CheckParameters12(a,b,c,d,e,f,g,h,i,j,k,l,m) do { } while(0)
110 #define CheckParameters13(a,b,c,d,e,f,g,h,i,j,k,l,m,n) do { } while(0)
111 #define CheckParameters14(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) do { } while(0)
112 #define CheckParameters15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) do { } while(0)
113 #define CheckParameters16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) do { } while(0)
115 #ifdef __cplusplus
117 #endif
119 #endif /* MAPIVAL_H */