Release 990226.
[wine/gsoc-2012-control.git] / tsx11 / ts_xf86vmode.c
blob7106301cc5d9a7f784c0a281fdd34915d2091957
1 /*
2 * Thread safe wrappers around xf86vmode calls.
3 * This file was generated automatically by tools/make_X11wrappers
4 * DO NOT EDIT!
5 */
7 #include "config.h"
9 #ifndef X_DISPLAY_MISSING
11 #include "wintypes.h"
12 #ifdef HAVE_LIBXXF86VM
13 #define XMD_H
14 typedef int INT32;
15 #include <X11/Xlib.h>
16 #include <X11/extensions/xf86vmode.h>
17 #include "debug.h"
18 #include "x11drv.h"
20 Bool TSXF86VidModeQueryVersion(Display*a0,int*a1,int*a2)
22 Bool r;
23 TRACE(x11, "Call XF86VidModeQueryVersion\n");
24 EnterCriticalSection( &X11DRV_CritSection );
25 r = XF86VidModeQueryVersion(a0,a1,a2);
26 LeaveCriticalSection( &X11DRV_CritSection );
27 TRACE(x11, "Ret XF86VidModeQueryVersion\n");
28 return r;
31 Bool TSXF86VidModeQueryExtension(Display*a0,int*a1,int*a2)
33 Bool r;
34 TRACE(x11, "Call XF86VidModeQueryExtension\n");
35 EnterCriticalSection( &X11DRV_CritSection );
36 r = XF86VidModeQueryExtension(a0,a2,a2);
37 LeaveCriticalSection( &X11DRV_CritSection );
38 TRACE(x11, "Ret XF86VidModeQueryExtension\n");
39 return r;
42 Bool TSXF86VidModeGetModeLine(Display*a0,int a1,int*a2,XF86VidModeModeLine*a3)
44 Bool r;
45 TRACE(x11, "Call XF86VidModeGetModeLine\n");
46 EnterCriticalSection( &X11DRV_CritSection );
47 r = XF86VidModeGetModeLine(a0,a1,a2,a3);
48 LeaveCriticalSection( &X11DRV_CritSection );
49 TRACE(x11, "Ret XF86VidModeGetModeLine\n");
50 return r;
53 Bool TSXF86VidModeGetAllModeLines(Display*a0,int a1,int*a2,XF86VidModeModeInfo***a3)
55 Bool r;
56 TRACE(x11, "Call XF86VidModeGetAllModeLines\n");
57 EnterCriticalSection( &X11DRV_CritSection );
58 r = XF86VidModeGetAllModeLines(a0,a1,a2,a3);
59 LeaveCriticalSection( &X11DRV_CritSection );
60 TRACE(x11, "Ret XF86VidModeGetAllModeLines\n");
61 return r;
64 Bool TSXF86VidModeAddModeLine(Display*a0,int a1,XF86VidModeModeInfo*a2,XF86VidModeModeInfo*a3)
66 Bool r;
67 TRACE(x11, "Call XF86VidModeAddModeLine\n");
68 EnterCriticalSection( &X11DRV_CritSection );
69 r = XF86VidModeAddModeLine(a0,a1,a2,a3);
70 LeaveCriticalSection( &X11DRV_CritSection );
71 TRACE(x11, "Ret XF86VidModeAddModeLine\n");
72 return r;
75 Bool TSXF86VidModeDeleteModeLine(Display*a0,int a1,XF86VidModeModeInfo*a2)
77 Bool r;
78 TRACE(x11, "Call XF86VidModeDeleteModeLine\n");
79 EnterCriticalSection( &X11DRV_CritSection );
80 r = XF86VidModeDeleteModeLine(a0,a1,a2);
81 LeaveCriticalSection( &X11DRV_CritSection );
82 TRACE(x11, "Ret XF86VidModeDeleteModeLine\n");
83 return r;
86 Bool TSXF86VidModeModModeLine(Display*a0,int a1,XF86VidModeModeLine*a2)
88 Bool r;
89 TRACE(x11, "Call XF86VidModeModModeLine\n");
90 EnterCriticalSection( &X11DRV_CritSection );
91 r = XF86VidModeModModeLine(a0,a1,a2);
92 LeaveCriticalSection( &X11DRV_CritSection );
93 TRACE(x11, "Ret XF86VidModeModModeLine\n");
94 return r;
97 Status TSXF86VidModeValidateModeLine(Display*a0,int a1,XF86VidModeModeInfo*a2)
99 Status r;
100 TRACE(x11, "Call XF86VidModeValidateModeLine\n");
101 EnterCriticalSection( &X11DRV_CritSection );
102 r = XF86VidModeValidateModeLine(a0,a1,a2);
103 LeaveCriticalSection( &X11DRV_CritSection );
104 TRACE(x11, "Ret XF86VidModeValidateModeLine\n");
105 return r;
108 Bool TSXF86VidModeSwitchMode(Display*a0,int a1,int a2)
110 Bool r;
111 TRACE(x11, "Call XF86VidModeSwitchMode\n");
112 EnterCriticalSection( &X11DRV_CritSection );
113 r = XF86VidModeSwitchMode(a0,a1,a2);
114 LeaveCriticalSection( &X11DRV_CritSection );
115 TRACE(x11, "Ret XF86VidModeSwitchMode\n");
116 return r;
119 Bool TSXF86VidModeSwitchToMode(Display*a0,int a1,XF86VidModeModeInfo*a2)
121 Bool r;
122 TRACE(x11, "Call XF86VidModeSwitchToMode\n");
123 EnterCriticalSection( &X11DRV_CritSection );
124 r = XF86VidModeSwitchToMode(a0,a1,a2);
125 LeaveCriticalSection( &X11DRV_CritSection );
126 TRACE(x11, "Ret XF86VidModeSwitchToMode\n");
127 return r;
130 Bool TSXF86VidModeLockModeSwitch(Display*a0,int a1,int a2)
132 Bool r;
133 TRACE(x11, "Call XF86VidModeLockModeSwitch\n");
134 EnterCriticalSection( &X11DRV_CritSection );
135 r = XF86VidModeLockModeSwitch(a0,a1,a2);
136 LeaveCriticalSection( &X11DRV_CritSection );
137 TRACE(x11, "Ret XF86VidModeLockModeSwitch\n");
138 return r;
141 Bool TSXF86VidModeGetMonitor(Display*a0,int a1,XF86VidModeMonitor*a2)
143 Bool r;
144 TRACE(x11, "Call XF86VidModeGetMonitor\n");
145 EnterCriticalSection( &X11DRV_CritSection );
146 r = XF86VidModeGetMonitor(a0,a1,a2);
147 LeaveCriticalSection( &X11DRV_CritSection );
148 TRACE(x11, "Ret XF86VidModeGetMonitor\n");
149 return r;
152 Bool TSXF86VidModeGetViewPort(Display*a0,int a1,int*a2,int*a3)
154 Bool r;
155 TRACE(x11, "Call XF86VidModeGetViewPort\n");
156 EnterCriticalSection( &X11DRV_CritSection );
157 r = XF86VidModeGetViewPort(a0,a1,a2,a3);
158 LeaveCriticalSection( &X11DRV_CritSection );
159 TRACE(x11, "Ret XF86VidModeGetViewPort\n");
160 return r;
163 Bool TSXF86VidModeSetViewPort(Display*a0,int a1,int a2,int a3)
165 Bool r;
166 TRACE(x11, "Call XF86VidModeSetViewPort\n");
167 EnterCriticalSection( &X11DRV_CritSection );
168 r = XF86VidModeSetViewPort(a0,a1,a2,a3);
169 LeaveCriticalSection( &X11DRV_CritSection );
170 TRACE(x11, "Ret XF86VidModeSetViewPort\n");
171 return r;
174 #endif /* defined(HAVE_LIBXXF86VM) */
176 #endif /* !defined(X_DISPLAY_MISSING) */