Added version16.rc in RC_SRCS list.
[wine/multimedia.git] / include / ts_xshm.h
blobb54294fddc9c42fec7ed16d7b302a2c1b6f9be09
1 /*
2 * Thread safe wrappers around XShm calls.
3 * Always include this file instead of <X11/XShm.h>.
4 * This file was generated automatically by tools/make_X11wrappers
6 * Copyright 1998 Kristian Nielsen
7 */
9 #ifndef __WINE_TS_XSHM_H
10 #define __WINE_TS_XSHM_H
12 #include "config.h"
14 #ifdef HAVE_LIBXXSHM
16 #include <X11/Xlib.h>
17 #include <X11/extensions/XShm.h>
19 extern void (*wine_tsx11_lock)(void);
20 extern void (*wine_tsx11_unlock)(void);
22 extern Bool TSXShmQueryExtension(Display *);
23 extern Bool TSXShmQueryVersion(Display *, int *, int *, Bool *);
24 extern int TSXShmPixmapFormat(Display *);
25 extern Status TSXShmAttach(Display *, XShmSegmentInfo *);
26 extern Status TSXShmDetach(Display *, XShmSegmentInfo *);
27 extern Status TSXShmPutImage(Display *, Drawable, GC, XImage *, int, int, int, int, unsigned int, unsigned int, Bool);
28 extern Status TSXShmGetImage(Display *, Drawable, XImage *, int, int, unsigned long);
29 extern XImage * TSXShmCreateImage(Display *, Visual *, unsigned int, int, char *, XShmSegmentInfo *, unsigned int, unsigned int);
30 extern Pixmap TSXShmCreatePixmap(Display *, Drawable, char *, XShmSegmentInfo *, unsigned int, unsigned int, unsigned int);
32 #endif /* defined(HAVE_LIBXXSHM) */
34 #endif /* __WINE_TS_XSHM_H */