Added assembly wrapper for calling window procedures.
[wine.git] / tsx11 / ts_xf86vmode.c
blob090095acb07dec822909ddf72b7e4c44877e8bb6
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 #include "windef.h"
10 #ifdef HAVE_LIBXXF86VM
11 #define XMD_H
12 #include "basetsd.h"
14 #include <X11/Xlib.h>
15 #include <X11/extensions/xf86vmode.h>
17 #include "debugtools.h"
18 #include "ts_xf86vmode.h"
19 #include "x11drv.h"
21 DEFAULT_DEBUG_CHANNEL(x11)
23 Bool TSXF86VidModeQueryVersion(Display*a0,int*a1,int*a2)
25 Bool r;
26 TRACE("Call XF86VidModeQueryVersion\n");
27 EnterCriticalSection( &X11DRV_CritSection );
28 r = XF86VidModeQueryVersion(a0,a1,a2);
29 LeaveCriticalSection( &X11DRV_CritSection );
30 TRACE("Ret XF86VidModeQueryVersion\n");
31 return r;
34 Bool TSXF86VidModeQueryExtension(Display*a0,int*a1,int*a2)
36 Bool r;
37 TRACE("Call XF86VidModeQueryExtension\n");
38 EnterCriticalSection( &X11DRV_CritSection );
39 r = XF86VidModeQueryExtension(a0,a2,a2);
40 LeaveCriticalSection( &X11DRV_CritSection );
41 TRACE("Ret XF86VidModeQueryExtension\n");
42 return r;
45 Bool TSXF86VidModeGetModeLine(Display*a0,int a1,int*a2,XF86VidModeModeLine*a3)
47 Bool r;
48 TRACE("Call XF86VidModeGetModeLine\n");
49 EnterCriticalSection( &X11DRV_CritSection );
50 r = XF86VidModeGetModeLine(a0,a1,a2,a3);
51 LeaveCriticalSection( &X11DRV_CritSection );
52 TRACE("Ret XF86VidModeGetModeLine\n");
53 return r;
56 Bool TSXF86VidModeGetAllModeLines(Display*a0,int a1,int*a2,XF86VidModeModeInfo***a3)
58 Bool r;
59 TRACE("Call XF86VidModeGetAllModeLines\n");
60 EnterCriticalSection( &X11DRV_CritSection );
61 r = XF86VidModeGetAllModeLines(a0,a1,a2,a3);
62 LeaveCriticalSection( &X11DRV_CritSection );
63 TRACE("Ret XF86VidModeGetAllModeLines\n");
64 return r;
67 Bool TSXF86VidModeAddModeLine(Display*a0,int a1,XF86VidModeModeInfo*a2,XF86VidModeModeInfo*a3)
69 Bool r;
70 TRACE("Call XF86VidModeAddModeLine\n");
71 EnterCriticalSection( &X11DRV_CritSection );
72 r = XF86VidModeAddModeLine(a0,a1,a2,a3);
73 LeaveCriticalSection( &X11DRV_CritSection );
74 TRACE("Ret XF86VidModeAddModeLine\n");
75 return r;
78 Bool TSXF86VidModeDeleteModeLine(Display*a0,int a1,XF86VidModeModeInfo*a2)
80 Bool r;
81 TRACE("Call XF86VidModeDeleteModeLine\n");
82 EnterCriticalSection( &X11DRV_CritSection );
83 r = XF86VidModeDeleteModeLine(a0,a1,a2);
84 LeaveCriticalSection( &X11DRV_CritSection );
85 TRACE("Ret XF86VidModeDeleteModeLine\n");
86 return r;
89 Bool TSXF86VidModeModModeLine(Display*a0,int a1,XF86VidModeModeLine*a2)
91 Bool r;
92 TRACE("Call XF86VidModeModModeLine\n");
93 EnterCriticalSection( &X11DRV_CritSection );
94 r = XF86VidModeModModeLine(a0,a1,a2);
95 LeaveCriticalSection( &X11DRV_CritSection );
96 TRACE("Ret XF86VidModeModModeLine\n");
97 return r;
100 Status TSXF86VidModeValidateModeLine(Display*a0,int a1,XF86VidModeModeInfo*a2)
102 Status r;
103 TRACE("Call XF86VidModeValidateModeLine\n");
104 EnterCriticalSection( &X11DRV_CritSection );
105 r = XF86VidModeValidateModeLine(a0,a1,a2);
106 LeaveCriticalSection( &X11DRV_CritSection );
107 TRACE("Ret XF86VidModeValidateModeLine\n");
108 return r;
111 Bool TSXF86VidModeSwitchMode(Display*a0,int a1,int a2)
113 Bool r;
114 TRACE("Call XF86VidModeSwitchMode\n");
115 EnterCriticalSection( &X11DRV_CritSection );
116 r = XF86VidModeSwitchMode(a0,a1,a2);
117 LeaveCriticalSection( &X11DRV_CritSection );
118 TRACE("Ret XF86VidModeSwitchMode\n");
119 return r;
122 Bool TSXF86VidModeSwitchToMode(Display*a0,int a1,XF86VidModeModeInfo*a2)
124 Bool r;
125 TRACE("Call XF86VidModeSwitchToMode\n");
126 EnterCriticalSection( &X11DRV_CritSection );
127 r = XF86VidModeSwitchToMode(a0,a1,a2);
128 LeaveCriticalSection( &X11DRV_CritSection );
129 TRACE("Ret XF86VidModeSwitchToMode\n");
130 return r;
133 Bool TSXF86VidModeLockModeSwitch(Display*a0,int a1,int a2)
135 Bool r;
136 TRACE("Call XF86VidModeLockModeSwitch\n");
137 EnterCriticalSection( &X11DRV_CritSection );
138 r = XF86VidModeLockModeSwitch(a0,a1,a2);
139 LeaveCriticalSection( &X11DRV_CritSection );
140 TRACE("Ret XF86VidModeLockModeSwitch\n");
141 return r;
144 Bool TSXF86VidModeGetMonitor(Display*a0,int a1,XF86VidModeMonitor*a2)
146 Bool r;
147 TRACE("Call XF86VidModeGetMonitor\n");
148 EnterCriticalSection( &X11DRV_CritSection );
149 r = XF86VidModeGetMonitor(a0,a1,a2);
150 LeaveCriticalSection( &X11DRV_CritSection );
151 TRACE("Ret XF86VidModeGetMonitor\n");
152 return r;
155 Bool TSXF86VidModeGetViewPort(Display*a0,int a1,int*a2,int*a3)
157 Bool r;
158 TRACE("Call XF86VidModeGetViewPort\n");
159 EnterCriticalSection( &X11DRV_CritSection );
160 r = XF86VidModeGetViewPort(a0,a1,a2,a3);
161 LeaveCriticalSection( &X11DRV_CritSection );
162 TRACE("Ret XF86VidModeGetViewPort\n");
163 return r;
166 Bool TSXF86VidModeSetViewPort(Display*a0,int a1,int a2,int a3)
168 Bool r;
169 TRACE("Call XF86VidModeSetViewPort\n");
170 EnterCriticalSection( &X11DRV_CritSection );
171 r = XF86VidModeSetViewPort(a0,a1,a2,a3);
172 LeaveCriticalSection( &X11DRV_CritSection );
173 TRACE("Ret XF86VidModeSetViewPort\n");
174 return r;
177 #endif /* defined(HAVE_LIBXXF86VM) */