Use GetProcAddress for mmio* functions to avoid importing winmm.dll.
[wine.git] / tsx11 / ts_xpm.c
blob115a8060626c6a057aa4d4a1170fc0f21b17d3e4
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>
15 #include "debugtools.h"
16 #include "ts_xpm.h"
17 #include "x11drv.h"
19 DEFAULT_DEBUG_CHANNEL(x11)
21 int TSXpmCreatePixmapFromData(Display *a0, Drawable a1, char **a2, Pixmap *a3, Pixmap *a4, XpmAttributes *a5)
23 int r;
24 TRACE("Call XpmCreatePixmapFromData\n");
25 EnterCriticalSection( &X11DRV_CritSection );
26 r = XpmCreatePixmapFromData(a0, a1, a2, a3, a4, a5);
27 LeaveCriticalSection( &X11DRV_CritSection );
28 TRACE("Ret XpmCreatePixmapFromData\n");
29 return r;
32 int TSXpmAttributesSize(void)
34 int r;
35 TRACE("Call XpmAttributesSize\n");
36 EnterCriticalSection( &X11DRV_CritSection );
37 r = XpmAttributesSize();
38 LeaveCriticalSection( &X11DRV_CritSection );
39 TRACE("Ret XpmAttributesSize\n");
40 return r;
43 #endif /* defined(HAVE_LIBXXPM) */
45 #endif /* !defined(X_DISPLAY_MISSING) */