VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/mapival.h@ 78046

Last change on this file since 78046 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.9 KB
Line 
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/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef MAPIVAL_H
29#define MAPIVAL_H
30
31#include <mapiutil.h>
32#include <stddef.h>
33#include <stdarg.h>
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39BOOL WINAPI FBadRglpszW(LPWSTR*,ULONG);
40BOOL WINAPI FBadRowSet(LPSRowSet);
41BOOL WINAPI FBadRglpNameID(LPMAPINAMEID*,ULONG);
42BOOL WINAPI FBadEntryList(LPENTRYLIST);
43ULONG WINAPI FBadRestriction(LPSRestriction);
44ULONG WINAPI FBadPropTag(ULONG);
45ULONG WINAPI FBadRow(LPSRow);
46ULONG WINAPI FBadProp(LPSPropValue);
47ULONG WINAPI FBadSortOrderSet(LPSSortOrderSet);
48ULONG WINAPI FBadColumnSet(LPSPropTagArray);
49
50#define FBadRgPropVal(p,n) FAILED(ScCountProps((n),(p),NULL))
51#define FBadPropVal(p) FBadRgPropVal(1,(p))
52#define FBadAdrList(p) FBadRowSet((LPSRowSet)(p))
53
54#define BAD_STANDARD_OBJ(a,b,c,d) FALSE
55#define FBadUnknown(a) FALSE
56#define FBadQueryInterface(a,b,c) FALSE
57#define FBadAddRef(a) FALSE
58#define FBadRelease(a) FALSE
59#define FBadGetLastError(a,b,c,d) FALSE
60#define FBadSaveChanges(a,b) FALSE
61#define FBadGetProps(a,b,c,d) FALSE
62#define FBadGetPropList(a,b) FALSE
63#define FBadOpenProperty(a,b,c,d,e,f) FALSE
64#define FBadSetProps(a,b,c,d) FALSE
65#define FBadDeleteProps(a,b,c) FALSE
66#define FBadCopyTo(a,b,c,d,e,f,g,h,i,j) FALSE
67#define FBadCopyProps(a,b,c,d,e,f,g,h) FALSE
68#define FBadGetNamesFromIDs(a,b,c,d,e,f) FALSE
69#define FBadGetIDsFromNames(a,b,c,d,e) FALSE
70
71#define ValidateParms(x) do { } while(0)
72#define UlValidateParms(x) do { } while(0)
73#define CheckParms(x) do { } while(0)
74
75#define ValidateParameters1(a,b) do { } while(0)
76#define ValidateParameters2(a,b,c) do { } while(0)
77#define ValidateParameters3(a,b,c,d) do { } while(0)
78#define ValidateParameters4(a,b,c,d,e) do { } while(0)
79#define ValidateParameters5(a,b,c,d,e,f) do { } while(0)
80#define ValidateParameters6(a,b,c,d,e,f,g) do { } while(0)
81#define ValidateParameters7(a,b,c,d,e,f,g,h) do { } while(0)
82#define ValidateParameters8(a,b,c,d,e,f,g,h,i) do { } while(0)
83#define ValidateParameters9(a,b,c,d,e,f,g,h,i,j) do { } while(0)
84#define ValidateParameters10(a,b,c,d,e,f,g,h,i,j,k) do { } while(0)
85#define ValidateParameters11(a,b,c,d,e,f,g,h,i,j,k,l) do { } while(0)
86#define ValidateParameters12(a,b,c,d,e,f,g,h,i,j,k,l,m) do { } while(0)
87#define ValidateParameters13(a,b,c,d,e,f,g,h,i,j,k,l,m,n) do { } while(0)
88#define ValidateParameters14(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) do { } while(0)
89#define ValidateParameters15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) do { } while(0)
90#define ValidateParameters16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) do { } while(0)
91
92#define UlValidateParameters1(a,b) do { } while(0)
93#define UlValidateParameters2(a,b,c) do { } while(0)
94#define UlValidateParameters3(a,b,c,d) do { } while(0)
95#define UlValidateParameters4(a,b,c,d,e) do { } while(0)
96#define UlValidateParameters5(a,b,c,d,e,f) do { } while(0)
97#define UlValidateParameters6(a,b,c,d,e,f,g) do { } while(0)
98#define UlValidateParameters7(a,b,c,d,e,f,g,h) do { } while(0)
99#define UlValidateParameters8(a,b,c,d,e,f,g,h,i) do { } while(0)
100#define UlValidateParameters9(a,b,c,d,e,f,g,h,i,j) do { } while(0)
101#define UlValidateParameters10(a,b,c,d,e,f,g,h,i,j,k) do { } while(0)
102#define UlValidateParameters11(a,b,c,d,e,f,g,h,i,j,k,l) do { } while(0)
103#define UlValidateParameters12(a,b,c,d,e,f,g,h,i,j,k,l,m) do { } while(0)
104#define UlValidateParameters13(a,b,c,d,e,f,g,h,i,j,k,l,m,n) do { } while(0)
105#define UlValidateParameters14(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) do { } while(0)
106#define UlValidateParameters15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) do { } while(0)
107#define UlValidateParameters16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) do { } while(0)
108
109#define CheckParameters1(a,b) do { } while(0)
110#define CheckParameters2(a,b,c) do { } while(0)
111#define CheckParameters3(a,b,c,d) do { } while(0)
112#define CheckParameters4(a,b,c,d,e) do { } while(0)
113#define CheckParameters5(a,b,c,d,e,f) do { } while(0)
114#define CheckParameters6(a,b,c,d,e,f,g) do { } while(0)
115#define CheckParameters7(a,b,c,d,e,f,g,h) do { } while(0)
116#define CheckParameters8(a,b,c,d,e,f,g,h,i) do { } while(0)
117#define CheckParameters9(a,b,c,d,e,f,g,h,i,j) do { } while(0)
118#define CheckParameters10(a,b,c,d,e,f,g,h,i,j,k) do { } while(0)
119#define CheckParameters11(a,b,c,d,e,f,g,h,i,j,k,l) do { } while(0)
120#define CheckParameters12(a,b,c,d,e,f,g,h,i,j,k,l,m) do { } while(0)
121#define CheckParameters13(a,b,c,d,e,f,g,h,i,j,k,l,m,n) do { } while(0)
122#define CheckParameters14(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o) do { } while(0)
123#define CheckParameters15(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) do { } while(0)
124#define CheckParameters16(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) do { } while(0)
125
126#ifdef __cplusplus
127}
128#endif
129
130#endif /* MAPIVAL_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette