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
9 #ifndef __WINE_TSXSHM_H
10 #define __WINE_TSXSHM_H
13 #include <X11/extensions/XShm.h>
15 extern Bool
TSXShmQueryExtension(Display
*);
16 extern Bool
TSXShmQueryVersion(Display
*, int *, int *, Bool
*);
17 extern int TSXShmPixmapFormat(Display
*);
18 extern Status
TSXShmAttach(Display
*, XShmSegmentInfo
*);
19 extern Status
TSXShmDetach(Display
*, XShmSegmentInfo
*);
20 extern Status
TSXShmPutImage(Display
*, Drawable
, GC
, XImage
*, int, int, int, int, unsigned int, unsigned int, Bool
);
21 extern Status
TSXShmGetImage(Display
*, Drawable
, XImage
*, int, int, unsigned long);
22 extern XImage
* TSXShmCreateImage(Display
*, Visual
*, unsigned int, int, char *, XShmSegmentInfo
*, unsigned int, unsigned int);
23 extern Pixmap
TSXShmCreatePixmap(Display
*, Drawable
, char *, XShmSegmentInfo
*, unsigned int, unsigned int, unsigned int);
25 #endif /* __WINE_TSXSHM_H */