VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/4.2/include/extensions/xteststr.h@ 17242

Last change on this file since 17242 was 17242, checked in by vboxsync, 16 years ago

Additions/x11/x11include: removed svn:keywords properties from all files under this directory as per SvnKeywords on the wiki. Hopefully this is finally correct

  • Property svn:eol-style set to native
File size: 3.2 KB
Line 
1/* $Xorg: xteststr.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ */
2/*
3
4Copyright 1992, 1998 The Open Group
5
6Permission to use, copy, modify, distribute, and sell this software and its
7documentation for any purpose is hereby granted without fee, provided that
8the above copyright notice appear in all copies and that both that
9copyright notice and this permission notice appear in supporting
10documentation.
11
12The above copyright notice and this permission notice shall be included in
13all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22Except as contained in this notice, the name of The Open Group shall not be
23used in advertising or otherwise to promote the sale, use or other dealings
24in this Software without prior written authorization from The Open Group.
25
26*/
27
28#ifndef _XTESTSTR_H_
29#define _XTESTSTR_H_
30
31#define Window CARD32
32#define Time CARD32
33#define Cursor CARD32
34
35#define XTestCurrentCursor ((Cursor)1)
36
37typedef struct {
38 CARD8 reqType; /* always XTestReqCode */
39 CARD8 xtReqType; /* always X_XTestGetVersion */
40 CARD16 length B16;
41 CARD8 majorVersion;
42 CARD8 pad;
43 CARD16 minorVersion B16;
44} xXTestGetVersionReq;
45#define sz_xXTestGetVersionReq 8
46
47typedef struct {
48 BYTE type; /* X_Reply */
49 CARD8 majorVersion;
50 CARD16 sequenceNumber B16;
51 CARD32 length B32;
52 CARD16 minorVersion B16;
53 CARD16 pad0 B16;
54 CARD32 pad1 B32;
55 CARD32 pad2 B32;
56 CARD32 pad3 B32;
57 CARD32 pad4 B32;
58 CARD32 pad5 B32;
59} xXTestGetVersionReply;
60#define sz_xXTestGetVersionReply 32
61
62typedef struct {
63 CARD8 reqType; /* always XTestReqCode */
64 CARD8 xtReqType; /* always X_XTestCompareCursor */
65 CARD16 length B16;
66 Window window B32;
67 Cursor cursor B32;
68} xXTestCompareCursorReq;
69#define sz_xXTestCompareCursorReq 12
70
71typedef struct {
72 BYTE type; /* X_Reply */
73 BOOL same;
74 CARD16 sequenceNumber B16;
75 CARD32 length B32;
76 CARD32 pad0 B32;
77 CARD32 pad1 B32;
78 CARD32 pad2 B32;
79 CARD32 pad3 B32;
80 CARD32 pad4 B32;
81 CARD32 pad5 B32;
82} xXTestCompareCursorReply;
83#define sz_xXTestCompareCursorReply 32
84
85/* used only on the client side */
86typedef struct {
87 CARD8 reqType; /* always XTestReqCode */
88 CARD8 xtReqType; /* always X_XTestFakeInput */
89 CARD16 length B16;
90 BYTE type;
91 BYTE detail;
92 CARD16 pad0 B16;
93 Time time B32;
94 Window root B32;
95 CARD32 pad1 B32;
96 CARD32 pad2 B32;
97 INT16 rootX B16, rootY B16;
98 CARD32 pad3 B32;
99 CARD16 pad4 B16;
100 CARD8 pad5;
101 CARD8 deviceid;
102} xXTestFakeInputReq;
103#define sz_xXTestFakeInputReq 36
104
105typedef struct {
106 CARD8 reqType; /* always XTestReqCode */
107 CARD8 xtReqType; /* always X_XTestGrabControl */
108 CARD16 length B16;
109 BOOL impervious;
110 CARD8 pad0;
111 CARD8 pad1;
112 CARD8 pad2;
113} xXTestGrabControlReq;
114#define sz_xXTestGrabControlReq 8
115
116#undef Window
117#undef Time
118#undef Cursor
119
120#endif /* _XTESTSTR_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