VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Display/vbvavrdp.h@ 34079

Last change on this file since 34079 was 28800, checked in by vboxsync, 15 years ago

Automated rebranding to Oracle copyright/license strings via filemuncher

  • Property svn:eol-style set to native
File size: 4.8 KB
Line 
1/** @file
2 *
3 * VBoxGuest -- VirtualBox Win 2000/XP guest display driver
4 *
5 * VRDP and VBVA handlers header.
6 *
7 * Copyright (C) 2006-2007 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef __DISPLAY_VBVAVRDP__H
19#define __DISPLAY_VBVAVRDP__H
20
21
22#define VBVA_DECL_OP(__fn, __args) \
23 void vbva##__fn __args; \
24 void vrdp##__fn __args;
25
26VBVA_DECL_OP(BitBlt, ( \
27 SURFOBJ *psoTrg, \
28 SURFOBJ *psoSrc, \
29 SURFOBJ *psoMask, \
30 CLIPOBJ *pco, \
31 XLATEOBJ *pxlo, \
32 RECTL *prclTrg, \
33 POINTL *pptlSrc, \
34 POINTL *pptlMask, \
35 BRUSHOBJ *pbo, \
36 POINTL *pptlBrush, \
37 ROP4 rop4 \
38 ));
39
40VBVA_DECL_OP(TextOut, ( \
41 SURFOBJ *pso, \
42 STROBJ *pstro, \
43 FONTOBJ *pfo, \
44 CLIPOBJ *pco, \
45 RECTL *prclExtra, \
46 RECTL *prclOpaque, \
47 BRUSHOBJ *pboFore, \
48 BRUSHOBJ *pboOpaque, \
49 POINTL *pptlOrg, \
50 MIX mix \
51 ));
52
53VBVA_DECL_OP(LineTo, ( \
54 SURFOBJ *pso, \
55 CLIPOBJ *pco, \
56 BRUSHOBJ *pbo, \
57 LONG x1, \
58 LONG y1, \
59 LONG x2, \
60 LONG y2, \
61 RECTL *prclBounds, \
62 MIX mix \
63 ));
64
65VBVA_DECL_OP(StretchBlt, ( \
66 SURFOBJ *psoDest, \
67 SURFOBJ *psoSrc, \
68 SURFOBJ *psoMask, \
69 CLIPOBJ *pco, \
70 XLATEOBJ *pxlo, \
71 COLORADJUSTMENT *pca, \
72 POINTL *pptlHTOrg, \
73 RECTL *prclDest, \
74 RECTL *prclSrc, \
75 POINTL *pptlMask, \
76 ULONG iMode \
77 ));
78
79VBVA_DECL_OP(CopyBits, ( \
80 SURFOBJ *psoDest, \
81 SURFOBJ *psoSrc, \
82 CLIPOBJ *pco, \
83 XLATEOBJ *pxlo, \
84 RECTL *prclDest, \
85 POINTL *pptlSrc \
86 ));
87
88VBVA_DECL_OP(Paint, ( \
89 SURFOBJ *pso, \
90 CLIPOBJ *pco, \
91 BRUSHOBJ *pbo, \
92 POINTL *pptlBrushOrg, \
93 MIX mix \
94 ));
95
96VBVA_DECL_OP(FillPath, ( \
97 SURFOBJ *pso, \
98 PATHOBJ *ppo, \
99 CLIPOBJ *pco, \
100 BRUSHOBJ *pbo, \
101 POINTL *pptlBrushOrg, \
102 MIX mix, \
103 FLONG flOptions \
104 ));
105
106VBVA_DECL_OP(StrokePath, ( \
107 SURFOBJ *pso, \
108 PATHOBJ *ppo, \
109 CLIPOBJ *pco, \
110 XFORMOBJ *pxo, \
111 BRUSHOBJ *pbo, \
112 POINTL *pptlBrushOrg, \
113 LINEATTRS *plineattrs, \
114 MIX mix \
115 ));
116
117VBVA_DECL_OP(StrokeAndFillPath, ( \
118 SURFOBJ *pso, \
119 PATHOBJ *ppo, \
120 CLIPOBJ *pco, \
121 XFORMOBJ *pxo, \
122 BRUSHOBJ *pboStroke, \
123 LINEATTRS *plineattrs, \
124 BRUSHOBJ *pboFill, \
125 POINTL *pptlBrushOrg, \
126 MIX mixFill, \
127 FLONG flOptions \
128 ))
129
130VBVA_DECL_OP(SaveScreenBits, ( \
131 SURFOBJ *pso, \
132 ULONG iMode, \
133 ULONG_PTR ident, \
134 RECTL *prcl \
135 ))
136
137#undef VBVA_DECL_OP
138
139BOOL vrdpRealizeBrush(
140 BRUSHOBJ *pbo,
141 SURFOBJ *psoTarget,
142 SURFOBJ *psoPattern,
143 SURFOBJ *psoMask,
144 XLATEOBJ *pxlo,
145 ULONG iHatch
146 );
147
148void vrdpReset (PPDEV ppdev);
149
150#endif /* __DISPLAY_VBVAVRDP__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