2 * Thread safe wrappers around Xlib calls.
3 * This file was generated automatically by tools/make_X11wrappers
9 #ifndef X_DISPLAY_MISSING
14 #include "debugtools.h"
18 DEFAULT_DEBUG_CHANNEL(x11
)
20 XFontStruct
* TSXLoadQueryFont(Display
* a0
, const char* a1
)
23 TRACE("Call XLoadQueryFont\n");
24 EnterCriticalSection( &X11DRV_CritSection
);
25 r
= XLoadQueryFont(a0
, a1
);
26 LeaveCriticalSection( &X11DRV_CritSection
);
27 TRACE("Ret XLoadQueryFont\n");
31 XModifierKeymap
* TSXGetModifierMapping(Display
* a0
)
34 TRACE("Call XGetModifierMapping\n");
35 EnterCriticalSection( &X11DRV_CritSection
);
36 r
= XGetModifierMapping(a0
);
37 LeaveCriticalSection( &X11DRV_CritSection
);
38 TRACE("Ret XGetModifierMapping\n");
42 XImage
* TSXCreateImage(Display
* a0
, Visual
* a1
, unsigned int a2
, int a3
, int a4
, char* a5
, unsigned int a6
, unsigned int a7
, int a8
, int a9
)
45 TRACE("Call XCreateImage\n");
46 EnterCriticalSection( &X11DRV_CritSection
);
47 r
= XCreateImage(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
);
48 LeaveCriticalSection( &X11DRV_CritSection
);
49 TRACE("Ret XCreateImage\n");
53 XImage
* TSXGetImage(Display
* a0
, Drawable a1
, int a2
, int a3
, unsigned int a4
, unsigned int a5
, unsigned long a6
, int a7
)
56 TRACE("Call XGetImage\n");
57 EnterCriticalSection( &X11DRV_CritSection
);
58 r
= XGetImage(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
);
59 LeaveCriticalSection( &X11DRV_CritSection
);
60 TRACE("Ret XGetImage\n");
64 Display
* TSXOpenDisplay(const char* a0
)
67 TRACE("Call XOpenDisplay\n");
68 EnterCriticalSection( &X11DRV_CritSection
);
70 LeaveCriticalSection( &X11DRV_CritSection
);
71 TRACE("Ret XOpenDisplay\n");
75 void TSXrmInitialize(void)
77 TRACE("Call XrmInitialize\n");
78 EnterCriticalSection( &X11DRV_CritSection
);
80 LeaveCriticalSection( &X11DRV_CritSection
);
81 TRACE("Ret XrmInitialize\n");
84 char * TSXGetAtomName(Display
* a0
, Atom a1
)
87 TRACE("Call XGetAtomName\n");
88 EnterCriticalSection( &X11DRV_CritSection
);
89 r
= XGetAtomName(a0
, a1
);
90 LeaveCriticalSection( &X11DRV_CritSection
);
91 TRACE("Ret XGetAtomName\n");
95 char * TSXKeysymToString(KeySym a0
)
98 TRACE("Call XKeysymToString\n");
99 EnterCriticalSection( &X11DRV_CritSection
);
100 r
= XKeysymToString(a0
);
101 LeaveCriticalSection( &X11DRV_CritSection
);
102 TRACE("Ret XKeysymToString\n");
106 Atom
TSXInternAtom(Display
* a0
, const char* a1
, int a2
)
109 TRACE("Call XInternAtom\n");
110 EnterCriticalSection( &X11DRV_CritSection
);
111 r
= XInternAtom(a0
, a1
, a2
);
112 LeaveCriticalSection( &X11DRV_CritSection
);
113 TRACE("Ret XInternAtom\n");
117 Colormap
TSXCopyColormapAndFree(Display
* a0
, Colormap a1
)
120 TRACE("Call XCopyColormapAndFree\n");
121 EnterCriticalSection( &X11DRV_CritSection
);
122 r
= XCopyColormapAndFree(a0
, a1
);
123 LeaveCriticalSection( &X11DRV_CritSection
);
124 TRACE("Ret XCopyColormapAndFree\n");
128 Colormap
TSXCreateColormap(Display
* a0
, Window a1
, Visual
* a2
, int a3
)
131 TRACE("Call XCreateColormap\n");
132 EnterCriticalSection( &X11DRV_CritSection
);
133 r
= XCreateColormap(a0
, a1
, a2
, a3
);
134 LeaveCriticalSection( &X11DRV_CritSection
);
135 TRACE("Ret XCreateColormap\n");
139 Cursor
TSXCreatePixmapCursor(Display
* a0
, Pixmap a1
, Pixmap a2
, XColor
* a3
, XColor
* a4
, unsigned int a5
, unsigned int a6
)
142 TRACE("Call XCreatePixmapCursor\n");
143 EnterCriticalSection( &X11DRV_CritSection
);
144 r
= XCreatePixmapCursor(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
145 LeaveCriticalSection( &X11DRV_CritSection
);
146 TRACE("Ret XCreatePixmapCursor\n");
150 Cursor
TSXCreateFontCursor(Display
* a0
, unsigned int a1
)
153 TRACE("Call XCreateFontCursor\n");
154 EnterCriticalSection( &X11DRV_CritSection
);
155 r
= XCreateFontCursor(a0
, a1
);
156 LeaveCriticalSection( &X11DRV_CritSection
);
157 TRACE("Ret XCreateFontCursor\n");
161 GC
TSXCreateGC(Display
* a0
, Drawable a1
, unsigned long a2
, XGCValues
* a3
)
164 TRACE("Call XCreateGC\n");
165 EnterCriticalSection( &X11DRV_CritSection
);
166 r
= XCreateGC(a0
, a1
, a2
, a3
);
167 LeaveCriticalSection( &X11DRV_CritSection
);
168 TRACE("Ret XCreateGC\n");
172 Pixmap
TSXCreatePixmap(Display
* a0
, Drawable a1
, unsigned int a2
, unsigned int a3
, unsigned int a4
)
175 TRACE("Call XCreatePixmap\n");
176 EnterCriticalSection( &X11DRV_CritSection
);
177 r
= XCreatePixmap(a0
, a1
, a2
, a3
, a4
);
178 LeaveCriticalSection( &X11DRV_CritSection
);
179 TRACE("Ret XCreatePixmap\n");
183 Pixmap
TSXCreateBitmapFromData(Display
* a0
, Drawable a1
, const char* a2
, unsigned int a3
, unsigned int a4
)
186 TRACE("Call XCreateBitmapFromData\n");
187 EnterCriticalSection( &X11DRV_CritSection
);
188 r
= XCreateBitmapFromData(a0
, a1
, a2
, a3
, a4
);
189 LeaveCriticalSection( &X11DRV_CritSection
);
190 TRACE("Ret XCreateBitmapFromData\n");
194 Window
TSXGetSelectionOwner(Display
* a0
, Atom a1
)
197 TRACE("Call XGetSelectionOwner\n");
198 EnterCriticalSection( &X11DRV_CritSection
);
199 r
= XGetSelectionOwner(a0
, a1
);
200 LeaveCriticalSection( &X11DRV_CritSection
);
201 TRACE("Ret XGetSelectionOwner\n");
205 Window
TSXCreateWindow(Display
* a0
, Window a1
, int a2
, int a3
, unsigned int a4
, unsigned int a5
, unsigned int a6
, int a7
, unsigned int a8
, Visual
* a9
, unsigned long a10
, XSetWindowAttributes
* a11
)
208 TRACE("Call XCreateWindow\n");
209 EnterCriticalSection( &X11DRV_CritSection
);
210 r
= XCreateWindow(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
, a10
, a11
);
211 LeaveCriticalSection( &X11DRV_CritSection
);
212 TRACE("Ret XCreateWindow\n");
216 char ** TSXListFonts(Display
* a0
, const char* a1
, int a2
, int* a3
)
219 TRACE("Call XListFonts\n");
220 EnterCriticalSection( &X11DRV_CritSection
);
221 r
= XListFonts(a0
, a1
, a2
, a3
);
222 LeaveCriticalSection( &X11DRV_CritSection
);
223 TRACE("Ret XListFonts\n");
227 KeySym
TSXKeycodeToKeysym(Display
* a0
, unsigned int a1
, int a2
)
230 TRACE("Call XKeycodeToKeysym\n");
231 EnterCriticalSection( &X11DRV_CritSection
);
232 r
= XKeycodeToKeysym(a0
, a1
, a2
);
233 LeaveCriticalSection( &X11DRV_CritSection
);
234 TRACE("Ret XKeycodeToKeysym\n");
238 KeySym
TSXLookupKeysym(XKeyEvent
* a0
, int a1
)
241 TRACE("Call XLookupKeysym\n");
242 EnterCriticalSection( &X11DRV_CritSection
);
243 r
= XLookupKeysym(a0
, a1
);
244 LeaveCriticalSection( &X11DRV_CritSection
);
245 TRACE("Ret XLookupKeysym\n");
249 KeySym
* TSXGetKeyboardMapping(Display
* a0
, unsigned int a1
, int a2
, int* a3
)
252 TRACE("Call XGetKeyboardMapping\n");
253 EnterCriticalSection( &X11DRV_CritSection
);
254 r
= XGetKeyboardMapping(a0
, a1
, a2
, a3
);
255 LeaveCriticalSection( &X11DRV_CritSection
);
256 TRACE("Ret XGetKeyboardMapping\n");
260 char * TSXResourceManagerString(Display
* a0
)
263 TRACE("Call XResourceManagerString\n");
264 EnterCriticalSection( &X11DRV_CritSection
);
265 r
= XResourceManagerString(a0
);
266 LeaveCriticalSection( &X11DRV_CritSection
);
267 TRACE("Ret XResourceManagerString\n");
271 int TSXInitThreads(void)
274 TRACE("Call XInitThreads\n");
275 EnterCriticalSection( &X11DRV_CritSection
);
277 LeaveCriticalSection( &X11DRV_CritSection
);
278 TRACE("Ret XInitThreads\n");
282 int * TSXListDepths(Display
* a0
, int a1
, int* a2
)
285 TRACE("Call XListDepths\n");
286 EnterCriticalSection( &X11DRV_CritSection
);
287 r
= XListDepths(a0
, a1
, a2
);
288 LeaveCriticalSection( &X11DRV_CritSection
);
289 TRACE("Ret XListDepths\n");
293 int TSXReconfigureWMWindow(Display
* a0
, Window a1
, int a2
, unsigned int a3
, XWindowChanges
* a4
)
296 TRACE("Call XReconfigureWMWindow\n");
297 EnterCriticalSection( &X11DRV_CritSection
);
298 r
= XReconfigureWMWindow(a0
, a1
, a2
, a3
, a4
);
299 LeaveCriticalSection( &X11DRV_CritSection
);
300 TRACE("Ret XReconfigureWMWindow\n");
304 int TSXSetWMProtocols(Display
* a0
, Window a1
, Atom
* a2
, int a3
)
307 TRACE("Call XSetWMProtocols\n");
308 EnterCriticalSection( &X11DRV_CritSection
);
309 r
= XSetWMProtocols(a0
, a1
, a2
, a3
);
310 LeaveCriticalSection( &X11DRV_CritSection
);
311 TRACE("Ret XSetWMProtocols\n");
315 int TSXIconifyWindow(Display
* a0
, Window a1
, int a2
)
318 TRACE("Call XIconifyWindow\n");
319 EnterCriticalSection( &X11DRV_CritSection
);
320 r
= XIconifyWindow(a0
, a1
, a2
);
321 LeaveCriticalSection( &X11DRV_CritSection
);
322 TRACE("Ret XIconifyWindow\n");
326 int TSXSetTransientForHint(Display
* a0
, Window a1
, Window a2
)
329 TRACE("Call XSetTransientForHint\n");
330 EnterCriticalSection( &X11DRV_CritSection
);
331 r
= XSetTransientForHint(a0
, a1
, a2
);
332 LeaveCriticalSection( &X11DRV_CritSection
);
333 TRACE("Ret XSetTransientForHint\n");
337 int TSXActivateScreenSaver(Display
* a0
)
340 TRACE("Call XActivateScreenSaver\n");
341 EnterCriticalSection( &X11DRV_CritSection
);
342 r
= XActivateScreenSaver(a0
);
343 LeaveCriticalSection( &X11DRV_CritSection
);
344 TRACE("Ret XActivateScreenSaver\n");
348 int TSXAllocColor(Display
* a0
, Colormap a1
, XColor
* a2
)
351 TRACE("Call XAllocColor\n");
352 EnterCriticalSection( &X11DRV_CritSection
);
353 r
= XAllocColor(a0
, a1
, a2
);
354 LeaveCriticalSection( &X11DRV_CritSection
);
355 TRACE("Ret XAllocColor\n");
359 int TSXAllocColorCells(Display
* a0
, Colormap a1
, int a2
, unsigned long* a3
, unsigned int a4
, unsigned long* a5
, unsigned int a6
)
362 TRACE("Call XAllocColorCells\n");
363 EnterCriticalSection( &X11DRV_CritSection
);
364 r
= XAllocColorCells(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
365 LeaveCriticalSection( &X11DRV_CritSection
);
366 TRACE("Ret XAllocColorCells\n");
370 int TSXBell(Display
* a0
, int a1
)
373 TRACE("Call XBell\n");
374 EnterCriticalSection( &X11DRV_CritSection
);
376 LeaveCriticalSection( &X11DRV_CritSection
);
377 TRACE("Ret XBell\n");
381 int TSXChangeGC(Display
* a0
, GC a1
, unsigned long a2
, XGCValues
* a3
)
384 TRACE("Call XChangeGC\n");
385 EnterCriticalSection( &X11DRV_CritSection
);
386 r
= XChangeGC(a0
, a1
, a2
, a3
);
387 LeaveCriticalSection( &X11DRV_CritSection
);
388 TRACE("Ret XChangeGC\n");
392 int TSXChangeKeyboardControl(Display
* a0
, unsigned long a1
, XKeyboardControl
* a2
)
395 TRACE("Call XChangeKeyboardControl\n");
396 EnterCriticalSection( &X11DRV_CritSection
);
397 r
= XChangeKeyboardControl(a0
, a1
, a2
);
398 LeaveCriticalSection( &X11DRV_CritSection
);
399 TRACE("Ret XChangeKeyboardControl\n");
403 int TSXChangeProperty(Display
* a0
, Window a1
, Atom a2
, Atom a3
, int a4
, int a5
, const unsigned char* a6
, int a7
)
406 TRACE("Call XChangeProperty\n");
407 EnterCriticalSection( &X11DRV_CritSection
);
408 r
= XChangeProperty(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
);
409 LeaveCriticalSection( &X11DRV_CritSection
);
410 TRACE("Ret XChangeProperty\n");
414 int TSXChangeWindowAttributes(Display
* a0
, Window a1
, unsigned long a2
, XSetWindowAttributes
* a3
)
417 TRACE("Call XChangeWindowAttributes\n");
418 EnterCriticalSection( &X11DRV_CritSection
);
419 r
= XChangeWindowAttributes(a0
, a1
, a2
, a3
);
420 LeaveCriticalSection( &X11DRV_CritSection
);
421 TRACE("Ret XChangeWindowAttributes\n");
425 int TSXCheckTypedEvent(Display
* a0
, int a1
, XEvent
* a2
)
428 TRACE("Call XCheckTypedEvent\n");
429 EnterCriticalSection( &X11DRV_CritSection
);
430 r
= XCheckTypedEvent(a0
, a1
, a2
);
431 LeaveCriticalSection( &X11DRV_CritSection
);
432 TRACE("Ret XCheckTypedEvent\n");
436 int TSXCheckTypedWindowEvent(Display
* a0
, Window a1
, int a2
, XEvent
* a3
)
439 TRACE("Call XCheckTypedWindowEvent\n");
440 EnterCriticalSection( &X11DRV_CritSection
);
441 r
= XCheckTypedWindowEvent(a0
, a1
, a2
, a3
);
442 LeaveCriticalSection( &X11DRV_CritSection
);
443 TRACE("Ret XCheckTypedWindowEvent\n");
447 int TSXCheckWindowEvent(Display
* a0
, Window a1
, long a2
, XEvent
* a3
)
450 TRACE("Call XCheckWindowEvent\n");
451 EnterCriticalSection( &X11DRV_CritSection
);
452 r
= XCheckWindowEvent(a0
, a1
, a2
, a3
);
453 LeaveCriticalSection( &X11DRV_CritSection
);
454 TRACE("Ret XCheckWindowEvent\n");
458 int TSXConvertSelection(Display
* a0
, Atom a1
, Atom a2
, Atom a3
, Window a4
, Time a5
)
461 TRACE("Call XConvertSelection\n");
462 EnterCriticalSection( &X11DRV_CritSection
);
463 r
= XConvertSelection(a0
, a1
, a2
, a3
, a4
, a5
);
464 LeaveCriticalSection( &X11DRV_CritSection
);
465 TRACE("Ret XConvertSelection\n");
469 int TSXCopyArea(Display
* a0
, Drawable a1
, Drawable a2
, GC a3
, int a4
, int a5
, unsigned int a6
, unsigned int a7
, int a8
, int a9
)
472 TRACE("Call XCopyArea\n");
473 EnterCriticalSection( &X11DRV_CritSection
);
474 r
= XCopyArea(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
);
475 LeaveCriticalSection( &X11DRV_CritSection
);
476 TRACE("Ret XCopyArea\n");
480 int TSXCopyPlane(Display
* a0
, Drawable a1
, Drawable a2
, GC a3
, int a4
, int a5
, unsigned int a6
, unsigned int a7
, int a8
, int a9
, unsigned long a10
)
483 TRACE("Call XCopyPlane\n");
484 EnterCriticalSection( &X11DRV_CritSection
);
485 r
= XCopyPlane(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
, a10
);
486 LeaveCriticalSection( &X11DRV_CritSection
);
487 TRACE("Ret XCopyPlane\n");
491 int TSXDefineCursor(Display
* a0
, Window a1
, Cursor a2
)
494 TRACE("Call XDefineCursor\n");
495 EnterCriticalSection( &X11DRV_CritSection
);
496 r
= XDefineCursor(a0
, a1
, a2
);
497 LeaveCriticalSection( &X11DRV_CritSection
);
498 TRACE("Ret XDefineCursor\n");
502 int TSXDeleteProperty(Display
* a0
, Window a1
, Atom a2
)
505 TRACE("Call XDeleteProperty\n");
506 EnterCriticalSection( &X11DRV_CritSection
);
507 r
= XDeleteProperty(a0
, a1
, a2
);
508 LeaveCriticalSection( &X11DRV_CritSection
);
509 TRACE("Ret XDeleteProperty\n");
513 int TSXDestroyWindow(Display
* a0
, Window a1
)
516 TRACE("Call XDestroyWindow\n");
517 EnterCriticalSection( &X11DRV_CritSection
);
518 r
= XDestroyWindow(a0
, a1
);
519 LeaveCriticalSection( &X11DRV_CritSection
);
520 TRACE("Ret XDestroyWindow\n");
524 int TSXDisplayKeycodes(Display
* a0
, int* a1
, int* a2
)
527 TRACE("Call XDisplayKeycodes\n");
528 EnterCriticalSection( &X11DRV_CritSection
);
529 r
= XDisplayKeycodes(a0
, a1
, a2
);
530 LeaveCriticalSection( &X11DRV_CritSection
);
531 TRACE("Ret XDisplayKeycodes\n");
535 int TSXDrawArc(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
, int a7
, int a8
)
538 TRACE("Call XDrawArc\n");
539 EnterCriticalSection( &X11DRV_CritSection
);
540 r
= XDrawArc(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
541 LeaveCriticalSection( &X11DRV_CritSection
);
542 TRACE("Ret XDrawArc\n");
546 int TSXDrawLine(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, int a5
, int a6
)
549 TRACE("Call XDrawLine\n");
550 EnterCriticalSection( &X11DRV_CritSection
);
551 r
= XDrawLine(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
552 LeaveCriticalSection( &X11DRV_CritSection
);
553 TRACE("Ret XDrawLine\n");
557 int TSXDrawLines(Display
* a0
, Drawable a1
, GC a2
, XPoint
* a3
, int a4
, int a5
)
560 TRACE("Call XDrawLines\n");
561 EnterCriticalSection( &X11DRV_CritSection
);
562 r
= XDrawLines(a0
, a1
, a2
, a3
, a4
, a5
);
563 LeaveCriticalSection( &X11DRV_CritSection
);
564 TRACE("Ret XDrawLines\n");
568 int TSXDrawPoint(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
)
571 TRACE("Call XDrawPoint\n");
572 EnterCriticalSection( &X11DRV_CritSection
);
573 r
= XDrawPoint(a0
, a1
, a2
, a3
, a4
);
574 LeaveCriticalSection( &X11DRV_CritSection
);
575 TRACE("Ret XDrawPoint\n");
579 int TSXDrawRectangle(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
)
582 TRACE("Call XDrawRectangle\n");
583 EnterCriticalSection( &X11DRV_CritSection
);
584 r
= XDrawRectangle(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
585 LeaveCriticalSection( &X11DRV_CritSection
);
586 TRACE("Ret XDrawRectangle\n");
590 int TSXDrawSegments(Display
* a0
, Drawable a1
, GC a2
, XSegment
* a3
, int a4
)
593 TRACE("Call XDrawSegments\n");
594 EnterCriticalSection( &X11DRV_CritSection
);
595 r
= XDrawSegments(a0
, a1
, a2
, a3
, a4
);
596 LeaveCriticalSection( &X11DRV_CritSection
);
597 TRACE("Ret XDrawSegments\n");
601 int TSXDrawString16(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, const XChar2b
* a5
, int a6
)
604 TRACE("Call XDrawString16\n");
605 EnterCriticalSection( &X11DRV_CritSection
);
606 r
= XDrawString16(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
607 LeaveCriticalSection( &X11DRV_CritSection
);
608 TRACE("Ret XDrawString16\n");
612 int TSXDrawText16(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, XTextItem16
* a5
, int a6
)
615 TRACE("Call XDrawText16\n");
616 EnterCriticalSection( &X11DRV_CritSection
);
617 r
= XDrawText16(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
618 LeaveCriticalSection( &X11DRV_CritSection
);
619 TRACE("Ret XDrawText16\n");
623 int TSXFillArc(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
, int a7
, int a8
)
626 TRACE("Call XFillArc\n");
627 EnterCriticalSection( &X11DRV_CritSection
);
628 r
= XFillArc(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
629 LeaveCriticalSection( &X11DRV_CritSection
);
630 TRACE("Ret XFillArc\n");
634 int TSXFillPolygon(Display
* a0
, Drawable a1
, GC a2
, XPoint
* a3
, int a4
, int a5
, int a6
)
637 TRACE("Call XFillPolygon\n");
638 EnterCriticalSection( &X11DRV_CritSection
);
639 r
= XFillPolygon(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
640 LeaveCriticalSection( &X11DRV_CritSection
);
641 TRACE("Ret XFillPolygon\n");
645 int TSXFillRectangle(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
)
648 TRACE("Call XFillRectangle\n");
649 EnterCriticalSection( &X11DRV_CritSection
);
650 r
= XFillRectangle(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
651 LeaveCriticalSection( &X11DRV_CritSection
);
652 TRACE("Ret XFillRectangle\n");
656 int TSXFlush(Display
* a0
)
659 TRACE("Call XFlush\n");
660 EnterCriticalSection( &X11DRV_CritSection
);
662 LeaveCriticalSection( &X11DRV_CritSection
);
663 TRACE("Ret XFlush\n");
667 int TSXFree(void* a0
)
670 TRACE("Call XFree\n");
671 EnterCriticalSection( &X11DRV_CritSection
);
673 LeaveCriticalSection( &X11DRV_CritSection
);
674 TRACE("Ret XFree\n");
678 int TSXFreeColormap(Display
* a0
, Colormap a1
)
681 TRACE("Call XFreeColormap\n");
682 EnterCriticalSection( &X11DRV_CritSection
);
683 r
= XFreeColormap(a0
, a1
);
684 LeaveCriticalSection( &X11DRV_CritSection
);
685 TRACE("Ret XFreeColormap\n");
689 int TSXFreeColors(Display
* a0
, Colormap a1
, unsigned long* a2
, int a3
, unsigned long a4
)
692 TRACE("Call XFreeColors\n");
693 EnterCriticalSection( &X11DRV_CritSection
);
694 r
= XFreeColors(a0
, a1
, a2
, a3
, a4
);
695 LeaveCriticalSection( &X11DRV_CritSection
);
696 TRACE("Ret XFreeColors\n");
700 int TSXFreeCursor(Display
* a0
, Cursor a1
)
703 TRACE("Call XFreeCursor\n");
704 EnterCriticalSection( &X11DRV_CritSection
);
705 r
= XFreeCursor(a0
, a1
);
706 LeaveCriticalSection( &X11DRV_CritSection
);
707 TRACE("Ret XFreeCursor\n");
711 int TSXFreeFont(Display
* a0
, XFontStruct
* a1
)
714 TRACE("Call XFreeFont\n");
715 EnterCriticalSection( &X11DRV_CritSection
);
716 r
= XFreeFont(a0
, a1
);
717 LeaveCriticalSection( &X11DRV_CritSection
);
718 TRACE("Ret XFreeFont\n");
722 int TSXFreeFontNames(char** a0
)
725 TRACE("Call XFreeFontNames\n");
726 EnterCriticalSection( &X11DRV_CritSection
);
727 r
= XFreeFontNames(a0
);
728 LeaveCriticalSection( &X11DRV_CritSection
);
729 TRACE("Ret XFreeFontNames\n");
733 int TSXFreeGC(Display
* a0
, GC a1
)
736 TRACE("Call XFreeGC\n");
737 EnterCriticalSection( &X11DRV_CritSection
);
739 LeaveCriticalSection( &X11DRV_CritSection
);
740 TRACE("Ret XFreeGC\n");
744 int TSXFreeModifiermap(XModifierKeymap
* a0
)
747 TRACE("Call XFreeModifiermap\n");
748 EnterCriticalSection( &X11DRV_CritSection
);
749 r
= XFreeModifiermap(a0
);
750 LeaveCriticalSection( &X11DRV_CritSection
);
751 TRACE("Ret XFreeModifiermap\n");
755 int TSXFreePixmap(Display
* a0
, Pixmap a1
)
758 TRACE("Call XFreePixmap\n");
759 EnterCriticalSection( &X11DRV_CritSection
);
760 r
= XFreePixmap(a0
, a1
);
761 LeaveCriticalSection( &X11DRV_CritSection
);
762 TRACE("Ret XFreePixmap\n");
766 int TSXGetFontProperty(XFontStruct
* a0
, Atom a1
, unsigned long* a2
)
769 TRACE("Call XGetFontProperty\n");
770 EnterCriticalSection( &X11DRV_CritSection
);
771 r
= XGetFontProperty(a0
, a1
, a2
);
772 LeaveCriticalSection( &X11DRV_CritSection
);
773 TRACE("Ret XGetFontProperty\n");
777 int TSXGetGeometry(Display
* a0
, Drawable a1
, Window
* a2
, int* a3
, int* a4
, unsigned int* a5
, unsigned int* a6
, unsigned int* a7
, unsigned int* a8
)
780 TRACE("Call XGetGeometry\n");
781 EnterCriticalSection( &X11DRV_CritSection
);
782 r
= XGetGeometry(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
783 LeaveCriticalSection( &X11DRV_CritSection
);
784 TRACE("Ret XGetGeometry\n");
788 int TSXGetInputFocus(Display
* a0
, Window
* a1
, int* a2
)
791 TRACE("Call XGetInputFocus\n");
792 EnterCriticalSection( &X11DRV_CritSection
);
793 r
= XGetInputFocus(a0
, a1
, a2
);
794 LeaveCriticalSection( &X11DRV_CritSection
);
795 TRACE("Ret XGetInputFocus\n");
799 int TSXGetKeyboardControl(Display
* a0
, XKeyboardState
* a1
)
802 TRACE("Call XGetKeyboardControl\n");
803 EnterCriticalSection( &X11DRV_CritSection
);
804 r
= XGetKeyboardControl(a0
, a1
);
805 LeaveCriticalSection( &X11DRV_CritSection
);
806 TRACE("Ret XGetKeyboardControl\n");
810 int TSXGetScreenSaver(Display
* a0
, int* a1
, int* a2
, int* a3
, int* a4
)
813 TRACE("Call XGetScreenSaver\n");
814 EnterCriticalSection( &X11DRV_CritSection
);
815 r
= XGetScreenSaver(a0
, a1
, a2
, a3
, a4
);
816 LeaveCriticalSection( &X11DRV_CritSection
);
817 TRACE("Ret XGetScreenSaver\n");
821 int TSXGetWindowProperty(Display
* a0
, Window a1
, Atom a2
, long a3
, long a4
, int a5
, Atom a6
, Atom
* a7
, int* a8
, unsigned long* a9
, unsigned long* a10
, unsigned char** a11
)
824 TRACE("Call XGetWindowProperty\n");
825 EnterCriticalSection( &X11DRV_CritSection
);
826 r
= XGetWindowProperty(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
, a10
, a11
);
827 LeaveCriticalSection( &X11DRV_CritSection
);
828 TRACE("Ret XGetWindowProperty\n");
832 int TSXGetWindowAttributes(Display
* a0
, Window a1
, XWindowAttributes
* a2
)
835 TRACE("Call XGetWindowAttributes\n");
836 EnterCriticalSection( &X11DRV_CritSection
);
837 r
= XGetWindowAttributes(a0
, a1
, a2
);
838 LeaveCriticalSection( &X11DRV_CritSection
);
839 TRACE("Ret XGetWindowAttributes\n");
843 int TSXGrabKeyboard(Display
* a0
, Window a1
, int a2
, int a3
, int a4
, Time a5
)
846 TRACE("Call XGrabKeyboard\n");
847 EnterCriticalSection( &X11DRV_CritSection
);
848 r
= XGrabKeyboard(a0
, a1
, a2
, a3
, a4
, a5
);
849 LeaveCriticalSection( &X11DRV_CritSection
);
850 TRACE("Ret XGrabKeyboard\n");
854 int TSXGrabPointer(Display
* a0
, Window a1
, int a2
, unsigned int a3
, int a4
, int a5
, Window a6
, Cursor a7
, Time a8
)
857 TRACE("Call XGrabPointer\n");
858 EnterCriticalSection( &X11DRV_CritSection
);
859 r
= XGrabPointer(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
860 LeaveCriticalSection( &X11DRV_CritSection
);
861 TRACE("Ret XGrabPointer\n");
865 int TSXGrabServer(Display
* a0
)
868 TRACE("Call XGrabServer\n");
869 EnterCriticalSection( &X11DRV_CritSection
);
871 LeaveCriticalSection( &X11DRV_CritSection
);
872 TRACE("Ret XGrabServer\n");
876 int TSXInstallColormap(Display
* a0
, Colormap a1
)
879 TRACE("Call XInstallColormap\n");
880 EnterCriticalSection( &X11DRV_CritSection
);
881 r
= XInstallColormap(a0
, a1
);
882 LeaveCriticalSection( &X11DRV_CritSection
);
883 TRACE("Ret XInstallColormap\n");
887 KeyCode
TSXKeysymToKeycode(Display
* a0
, KeySym a1
)
890 TRACE("Call XKeysymToKeycode\n");
891 EnterCriticalSection( &X11DRV_CritSection
);
892 r
= XKeysymToKeycode(a0
, a1
);
893 LeaveCriticalSection( &X11DRV_CritSection
);
894 TRACE("Ret XKeysymToKeycode\n");
898 int TSXMapWindow(Display
* a0
, Window a1
)
901 TRACE("Call XMapWindow\n");
902 EnterCriticalSection( &X11DRV_CritSection
);
903 r
= XMapWindow(a0
, a1
);
904 LeaveCriticalSection( &X11DRV_CritSection
);
905 TRACE("Ret XMapWindow\n");
909 int TSXNextEvent(Display
* a0
, XEvent
* a1
)
912 TRACE("Call XNextEvent\n");
913 EnterCriticalSection( &X11DRV_CritSection
);
914 r
= XNextEvent(a0
, a1
);
915 LeaveCriticalSection( &X11DRV_CritSection
);
916 TRACE("Ret XNextEvent\n");
920 int TSXParseGeometry(const char* a0
, int* a1
, int* a2
, unsigned int* a3
, unsigned int* a4
)
923 TRACE("Call XParseGeometry\n");
924 EnterCriticalSection( &X11DRV_CritSection
);
925 r
= XParseGeometry(a0
, a1
, a2
, a3
, a4
);
926 LeaveCriticalSection( &X11DRV_CritSection
);
927 TRACE("Ret XParseGeometry\n");
931 int TSXPending(Display
* a0
)
934 TRACE("Call XPending\n");
935 EnterCriticalSection( &X11DRV_CritSection
);
937 LeaveCriticalSection( &X11DRV_CritSection
);
938 TRACE("Ret XPending\n");
942 int TSXPutBackEvent(Display
* a0
, XEvent
* a1
)
945 TRACE("Call XPutBackEvent\n");
946 EnterCriticalSection( &X11DRV_CritSection
);
947 r
= XPutBackEvent(a0
, a1
);
948 LeaveCriticalSection( &X11DRV_CritSection
);
949 TRACE("Ret XPutBackEvent\n");
953 int TSXPutImage(Display
* a0
, Drawable a1
, GC a2
, XImage
* a3
, int a4
, int a5
, int a6
, int a7
, unsigned int a8
, unsigned int a9
)
956 TRACE("Call XPutImage\n");
957 EnterCriticalSection( &X11DRV_CritSection
);
958 r
= XPutImage(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
);
959 LeaveCriticalSection( &X11DRV_CritSection
);
960 TRACE("Ret XPutImage\n");
964 int TSXQueryColor(Display
* a0
, Colormap a1
, XColor
* a2
)
967 TRACE("Call XQueryColor\n");
968 EnterCriticalSection( &X11DRV_CritSection
);
969 r
= XQueryColor(a0
, a1
, a2
);
970 LeaveCriticalSection( &X11DRV_CritSection
);
971 TRACE("Ret XQueryColor\n");
975 int TSXQueryKeymap(Display
* a0
, char* a1
)
978 TRACE("Call XQueryKeymap\n");
979 EnterCriticalSection( &X11DRV_CritSection
);
980 r
= XQueryKeymap(a0
, a1
);
981 LeaveCriticalSection( &X11DRV_CritSection
);
982 TRACE("Ret XQueryKeymap\n");
986 int TSXQueryPointer(Display
* a0
, Window a1
, Window
* a2
, Window
* a3
, int* a4
, int* a5
, int* a6
, int* a7
, unsigned int* a8
)
989 TRACE("Call XQueryPointer\n");
990 EnterCriticalSection( &X11DRV_CritSection
);
991 r
= XQueryPointer(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
992 LeaveCriticalSection( &X11DRV_CritSection
);
993 TRACE("Ret XQueryPointer\n");
997 int TSXQueryTree(Display
* a0
, Window a1
, Window
* a2
, Window
* a3
, Window
** a4
, unsigned int* a5
)
1000 TRACE("Call XQueryTree\n");
1001 EnterCriticalSection( &X11DRV_CritSection
);
1002 r
= XQueryTree(a0
, a1
, a2
, a3
, a4
, a5
);
1003 LeaveCriticalSection( &X11DRV_CritSection
);
1004 TRACE("Ret XQueryTree\n");
1008 int TSXResetScreenSaver(Display
* a0
)
1011 TRACE("Call XResetScreenSaver\n");
1012 EnterCriticalSection( &X11DRV_CritSection
);
1013 r
= XResetScreenSaver(a0
);
1014 LeaveCriticalSection( &X11DRV_CritSection
);
1015 TRACE("Ret XResetScreenSaver\n");
1019 int TSXRestackWindows(Display
* a0
, Window
* a1
, int a2
)
1022 TRACE("Call XRestackWindows\n");
1023 EnterCriticalSection( &X11DRV_CritSection
);
1024 r
= XRestackWindows(a0
, a1
, a2
);
1025 LeaveCriticalSection( &X11DRV_CritSection
);
1026 TRACE("Ret XRestackWindows\n");
1030 int TSXSendEvent(Display
* a0
, Window a1
, int a2
, long a3
, XEvent
* a4
)
1033 TRACE("Call XSendEvent\n");
1034 EnterCriticalSection( &X11DRV_CritSection
);
1035 r
= XSendEvent(a0
, a1
, a2
, a3
, a4
);
1036 LeaveCriticalSection( &X11DRV_CritSection
);
1037 TRACE("Ret XSendEvent\n");
1041 int TSXSetArcMode(Display
* a0
, GC a1
, int a2
)
1044 TRACE("Call XSetArcMode\n");
1045 EnterCriticalSection( &X11DRV_CritSection
);
1046 r
= XSetArcMode(a0
, a1
, a2
);
1047 LeaveCriticalSection( &X11DRV_CritSection
);
1048 TRACE("Ret XSetArcMode\n");
1052 int TSXSetBackground(Display
* a0
, GC a1
, unsigned long a2
)
1055 TRACE("Call XSetBackground\n");
1056 EnterCriticalSection( &X11DRV_CritSection
);
1057 r
= XSetBackground(a0
, a1
, a2
);
1058 LeaveCriticalSection( &X11DRV_CritSection
);
1059 TRACE("Ret XSetBackground\n");
1063 int TSXSetClipMask(Display
* a0
, GC a1
, Pixmap a2
)
1066 TRACE("Call XSetClipMask\n");
1067 EnterCriticalSection( &X11DRV_CritSection
);
1068 r
= XSetClipMask(a0
, a1
, a2
);
1069 LeaveCriticalSection( &X11DRV_CritSection
);
1070 TRACE("Ret XSetClipMask\n");
1074 int TSXSetClipOrigin(Display
* a0
, GC a1
, int a2
, int a3
)
1077 TRACE("Call XSetClipOrigin\n");
1078 EnterCriticalSection( &X11DRV_CritSection
);
1079 r
= XSetClipOrigin(a0
, a1
, a2
, a3
);
1080 LeaveCriticalSection( &X11DRV_CritSection
);
1081 TRACE("Ret XSetClipOrigin\n");
1085 int TSXSetClipRectangles(Display
* a0
, GC a1
, int a2
, int a3
, XRectangle
* a4
, int a5
, int a6
)
1088 TRACE("Call XSetClipRectangles\n");
1089 EnterCriticalSection( &X11DRV_CritSection
);
1090 r
= XSetClipRectangles(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
1091 LeaveCriticalSection( &X11DRV_CritSection
);
1092 TRACE("Ret XSetClipRectangles\n");
1096 int TSXSetDashes(Display
* a0
, GC a1
, int a2
, const char* a3
, int a4
)
1099 TRACE("Call XSetDashes\n");
1100 EnterCriticalSection( &X11DRV_CritSection
);
1101 r
= XSetDashes(a0
, a1
, a2
, a3
, a4
);
1102 LeaveCriticalSection( &X11DRV_CritSection
);
1103 TRACE("Ret XSetDashes\n");
1107 int TSXSetFillStyle(Display
* a0
, GC a1
, int a2
)
1110 TRACE("Call XSetFillStyle\n");
1111 EnterCriticalSection( &X11DRV_CritSection
);
1112 r
= XSetFillStyle(a0
, a1
, a2
);
1113 LeaveCriticalSection( &X11DRV_CritSection
);
1114 TRACE("Ret XSetFillStyle\n");
1118 int TSXSetForeground(Display
* a0
, GC a1
, unsigned long a2
)
1121 TRACE("Call XSetForeground\n");
1122 EnterCriticalSection( &X11DRV_CritSection
);
1123 r
= XSetForeground(a0
, a1
, a2
);
1124 LeaveCriticalSection( &X11DRV_CritSection
);
1125 TRACE("Ret XSetForeground\n");
1129 int TSXSetFunction(Display
* a0
, GC a1
, int a2
)
1132 TRACE("Call XSetFunction\n");
1133 EnterCriticalSection( &X11DRV_CritSection
);
1134 r
= XSetFunction(a0
, a1
, a2
);
1135 LeaveCriticalSection( &X11DRV_CritSection
);
1136 TRACE("Ret XSetFunction\n");
1140 int TSXSetGraphicsExposures(Display
* a0
, GC a1
, int a2
)
1143 TRACE("Call XSetGraphicsExposures\n");
1144 EnterCriticalSection( &X11DRV_CritSection
);
1145 r
= XSetGraphicsExposures(a0
, a1
, a2
);
1146 LeaveCriticalSection( &X11DRV_CritSection
);
1147 TRACE("Ret XSetGraphicsExposures\n");
1151 int TSXSetIconName(Display
* a0
, Window a1
, const char* a2
)
1154 TRACE("Call XSetIconName\n");
1155 EnterCriticalSection( &X11DRV_CritSection
);
1156 r
= XSetIconName(a0
, a1
, a2
);
1157 LeaveCriticalSection( &X11DRV_CritSection
);
1158 TRACE("Ret XSetIconName\n");
1162 int TSXSetInputFocus(Display
* a0
, Window a1
, int a2
, Time a3
)
1165 TRACE("Call XSetInputFocus\n");
1166 EnterCriticalSection( &X11DRV_CritSection
);
1167 r
= XSetInputFocus(a0
, a1
, a2
, a3
);
1168 LeaveCriticalSection( &X11DRV_CritSection
);
1169 TRACE("Ret XSetInputFocus\n");
1173 int TSXSetLineAttributes(Display
* a0
, GC a1
, unsigned int a2
, int a3
, int a4
, int a5
)
1176 TRACE("Call XSetLineAttributes\n");
1177 EnterCriticalSection( &X11DRV_CritSection
);
1178 r
= XSetLineAttributes(a0
, a1
, a2
, a3
, a4
, a5
);
1179 LeaveCriticalSection( &X11DRV_CritSection
);
1180 TRACE("Ret XSetLineAttributes\n");
1184 int TSXSetScreenSaver(Display
* a0
, int a1
, int a2
, int a3
, int a4
)
1187 TRACE("Call XSetScreenSaver\n");
1188 EnterCriticalSection( &X11DRV_CritSection
);
1189 r
= XSetScreenSaver(a0
, a1
, a2
, a3
, a4
);
1190 LeaveCriticalSection( &X11DRV_CritSection
);
1191 TRACE("Ret XSetScreenSaver\n");
1195 int TSXSetSelectionOwner(Display
* a0
, Atom a1
, Window a2
, Time a3
)
1198 TRACE("Call XSetSelectionOwner\n");
1199 EnterCriticalSection( &X11DRV_CritSection
);
1200 r
= XSetSelectionOwner(a0
, a1
, a2
, a3
);
1201 LeaveCriticalSection( &X11DRV_CritSection
);
1202 TRACE("Ret XSetSelectionOwner\n");
1206 int TSXSetSubwindowMode(Display
* a0
, GC a1
, int a2
)
1209 TRACE("Call XSetSubwindowMode\n");
1210 EnterCriticalSection( &X11DRV_CritSection
);
1211 r
= XSetSubwindowMode(a0
, a1
, a2
);
1212 LeaveCriticalSection( &X11DRV_CritSection
);
1213 TRACE("Ret XSetSubwindowMode\n");
1217 int TSXSetWindowColormap(Display
* a0
, Window a1
, Colormap a2
)
1220 TRACE("Call XSetWindowColormap\n");
1221 EnterCriticalSection( &X11DRV_CritSection
);
1222 r
= XSetWindowColormap(a0
, a1
, a2
);
1223 LeaveCriticalSection( &X11DRV_CritSection
);
1224 TRACE("Ret XSetWindowColormap\n");
1228 int TSXStoreColor(Display
* a0
, Colormap a1
, XColor
* a2
)
1231 TRACE("Call XStoreColor\n");
1232 EnterCriticalSection( &X11DRV_CritSection
);
1233 r
= XStoreColor(a0
, a1
, a2
);
1234 LeaveCriticalSection( &X11DRV_CritSection
);
1235 TRACE("Ret XStoreColor\n");
1239 int TSXStoreName(Display
* a0
, Window a1
, const char* a2
)
1242 TRACE("Call XStoreName\n");
1243 EnterCriticalSection( &X11DRV_CritSection
);
1244 r
= XStoreName(a0
, a1
, a2
);
1245 LeaveCriticalSection( &X11DRV_CritSection
);
1246 TRACE("Ret XStoreName\n");
1250 int TSXSync(Display
* a0
, int a1
)
1253 TRACE("Call XSync\n");
1254 EnterCriticalSection( &X11DRV_CritSection
);
1256 LeaveCriticalSection( &X11DRV_CritSection
);
1257 TRACE("Ret XSync\n");
1261 int TSXTextExtents16(XFontStruct
* a0
, const XChar2b
* a1
, int a2
, int* a3
, int* a4
, int* a5
, XCharStruct
* a6
)
1264 TRACE("Call XTextExtents16\n");
1265 EnterCriticalSection( &X11DRV_CritSection
);
1266 r
= XTextExtents16(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
1267 LeaveCriticalSection( &X11DRV_CritSection
);
1268 TRACE("Ret XTextExtents16\n");
1272 int TSXTextWidth16(XFontStruct
* a0
, const XChar2b
* a1
, int a2
)
1275 TRACE("Call XTextWidth16\n");
1276 EnterCriticalSection( &X11DRV_CritSection
);
1277 r
= XTextWidth16(a0
, a1
, a2
);
1278 LeaveCriticalSection( &X11DRV_CritSection
);
1279 TRACE("Ret XTextWidth16\n");
1283 int TSXUngrabKeyboard(Display
* a0
, Time a1
)
1286 TRACE("Call XUngrabKeyboard\n");
1287 EnterCriticalSection( &X11DRV_CritSection
);
1288 r
= XUngrabKeyboard(a0
, a1
);
1289 LeaveCriticalSection( &X11DRV_CritSection
);
1290 TRACE("Ret XUngrabKeyboard\n");
1294 int TSXUngrabPointer(Display
* a0
, Time a1
)
1297 TRACE("Call XUngrabPointer\n");
1298 EnterCriticalSection( &X11DRV_CritSection
);
1299 r
= XUngrabPointer(a0
, a1
);
1300 LeaveCriticalSection( &X11DRV_CritSection
);
1301 TRACE("Ret XUngrabPointer\n");
1305 int TSXUngrabServer(Display
* a0
)
1308 TRACE("Call XUngrabServer\n");
1309 EnterCriticalSection( &X11DRV_CritSection
);
1310 r
= XUngrabServer(a0
);
1311 LeaveCriticalSection( &X11DRV_CritSection
);
1312 TRACE("Ret XUngrabServer\n");
1316 int TSXUninstallColormap(Display
* a0
, Colormap a1
)
1319 TRACE("Call XUninstallColormap\n");
1320 EnterCriticalSection( &X11DRV_CritSection
);
1321 r
= XUninstallColormap(a0
, a1
);
1322 LeaveCriticalSection( &X11DRV_CritSection
);
1323 TRACE("Ret XUninstallColormap\n");
1327 int TSXUnmapWindow(Display
* a0
, Window a1
)
1330 TRACE("Call XUnmapWindow\n");
1331 EnterCriticalSection( &X11DRV_CritSection
);
1332 r
= XUnmapWindow(a0
, a1
);
1333 LeaveCriticalSection( &X11DRV_CritSection
);
1334 TRACE("Ret XUnmapWindow\n");
1338 int TSXWarpPointer(Display
* a0
, Window a1
, Window a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
, int a7
, int a8
)
1341 TRACE("Call XWarpPointer\n");
1342 EnterCriticalSection( &X11DRV_CritSection
);
1343 r
= XWarpPointer(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
1344 LeaveCriticalSection( &X11DRV_CritSection
);
1345 TRACE("Ret XWarpPointer\n");
1349 XIM
TSXOpenIM(Display
* a0
, struct _XrmHashBucketRec
* a1
, char* a2
, char* a3
)
1352 TRACE("Call XOpenIM\n");
1353 EnterCriticalSection( &X11DRV_CritSection
);
1354 r
= XOpenIM(a0
, a1
, a2
, a3
);
1355 LeaveCriticalSection( &X11DRV_CritSection
);
1356 TRACE("Ret XOpenIM\n");
1360 int (*TSXSynchronize(Display
*a0
, Bool a1
))(Display
*)
1362 int (*r
)(Display
*);
1363 TRACE("Call XSynchronize\n");
1364 EnterCriticalSection( &X11DRV_CritSection
);
1365 r
= XSynchronize(a0
, a1
);
1366 LeaveCriticalSection( &X11DRV_CritSection
);
1367 TRACE("Ret XSynchronize\n");
1371 extern void _XInitImageFuncPtrs(XImage
*);
1373 void TS_XInitImageFuncPtrs(XImage
*a0
)
1375 TRACE("Call _XInitImageFuncPtrs\n");
1376 EnterCriticalSection( &X11DRV_CritSection
);
1377 _XInitImageFuncPtrs(a0
);
1378 LeaveCriticalSection( &X11DRV_CritSection
);
1379 TRACE("Ret _XInitImageFuncPtrs\n");
1383 #endif /* !defined(X_DISPLAY_MISSING) */