Process and thread id now use the server-side id instead of an
[wine/multimedia.git] / tsx11 / ts_xpm.c
bloba7a180359732fc0dfc9d5d116bb26680f66d5e6a
1 /*
2 * Thread safe wrappers around xpm 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 #ifdef HAVE_LIBXXPM
13 #include <X11/xpm.h>
14 #include "debug.h"
15 #include "x11drv.h"
17 int TSXpmCreatePixmapFromData(Display *a0, Drawable a1, char **a2, Pixmap *a3, Pixmap *a4, XpmAttributes *a5)
19 int r;
20 TRACE(x11, "Call XpmCreatePixmapFromData\n");
21 EnterCriticalSection( &X11DRV_CritSection );
22 r = XpmCreatePixmapFromData(a0, a1, a2, a3, a4, a5);
23 LeaveCriticalSection( &X11DRV_CritSection );
24 TRACE(x11, "Ret XpmCreatePixmapFromData\n");
25 return r;
28 int TSXpmAttributesSize(void)
30 int r;
31 TRACE(x11, "Call XpmAttributesSize\n");
32 EnterCriticalSection( &X11DRV_CritSection );
33 r = XpmAttributesSize();
34 LeaveCriticalSection( &X11DRV_CritSection );
35 TRACE(x11, "Ret XpmAttributesSize\n");
36 return r;
39 #endif /* defined(HAVE_LIBXXPM) */
41 #endif /* !defined(X_DISPLAY_MISSING) */