Alexandre Julliard | 60ce85c | 1998-02-01 18:33:27 +0000 | [diff] [blame] | 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 |
| 5 | * |
| 6 | * Copyright 1998 Kristian Nielsen |
| 7 | */ |
| 8 | |
| 9 | #ifndef __WINE_TSXSHM_H |
| 10 | #define __WINE_TSXSHM_H |
| 11 | |
| 12 | #include <X11/Xlib.h> |
| 13 | #include <X11/extensions/XShm.h> |
| 14 | |
| 15 | extern Bool TSXShmQueryExtension(Display *); |
Lionel Ulmer | 16704da | 1998-11-15 16:43:32 +0000 | [diff] [blame^] | 16 | extern Bool TSXShmQueryVersion(Display *, int *, int *, Bool *); |
Alexandre Julliard | 60ce85c | 1998-02-01 18:33:27 +0000 | [diff] [blame] | 17 | extern int TSXShmPixmapFormat(Display *); |
Alexandre Julliard | 60ce85c | 1998-02-01 18:33:27 +0000 | [diff] [blame] | 18 | extern Status TSXShmAttach(Display *, XShmSegmentInfo *); |
Lionel Ulmer | 16704da | 1998-11-15 16:43:32 +0000 | [diff] [blame^] | 19 | extern Status TSXShmDetach(Display *, XShmSegmentInfo *); |
Alexandre Julliard | 642d313 | 1998-07-12 19:29:36 +0000 | [diff] [blame] | 20 | extern Status TSXShmPutImage(Display *, Drawable, GC, XImage *, int, int, int, int, unsigned int, unsigned int, Bool); |
Lionel Ulmer | 16704da | 1998-11-15 16:43:32 +0000 | [diff] [blame^] | 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); |
Alexandre Julliard | 60ce85c | 1998-02-01 18:33:27 +0000 | [diff] [blame] | 24 | |
| 25 | #endif /* __WINE_TSXSHM_H */ |