294 missing WINAPI added.
[wine/multimedia.git] / include / ts_xutil.h
blob41af0450448522826c5486311262feae554651fd
1 /*
2 * Thread safe wrappers around Xutil calls.
3 * Always include this file instead of <X11/Xutil.h>.
4 * This file was generated automatically by tools/make_X11wrappers
6 * Copyright 1998 Kristian Nielsen
7 */
9 #ifndef __WINE_TSXUTIL_H
10 #define __WINE_TSXUTIL_H
12 #include <X11/Xlib.h>
13 #include <X11/Xresource.h>
14 #include <X11/Xutil.h>
16 extern XClassHint * TSXAllocClassHint(void);
17 extern XSizeHints * TSXAllocSizeHints(void);
18 extern XWMHints * TSXAllocWMHints(void);
19 extern int TSXClipBox(Region, XRectangle*);
20 extern Region TSXCreateRegion(void);
21 extern int TSXDeleteContext(Display*, XID, XContext);
22 extern int TSXDestroyRegion(Region);
23 extern int TSXEmptyRegion(Region);
24 extern int TSXEqualRegion(Region, Region);
25 extern int TSXFindContext(Display*, XID, XContext, XPointer*);
26 extern XVisualInfo * TSXGetVisualInfo(Display*, long, XVisualInfo*, int*);
27 extern int TSXGetWMSizeHints(Display*, Window, XSizeHints*, long*, Atom);
28 extern int TSXIntersectRegion(Region, Region, Region);
29 extern int TSXLookupString(XKeyEvent*, char*, int, KeySym*, XComposeStatus*);
30 extern int TSXOffsetRegion(Region, int, int);
31 extern int TSXPointInRegion(Region, int, int);
32 extern Region TSXPolygonRegion(XPoint*, int, int);
33 extern int TSXRectInRegion(Region, int, int, unsigned int, unsigned int);
34 extern int TSXSaveContext(Display*, XID, XContext, const char*);
35 extern void TSXSetWMProperties(Display*, Window, XTextProperty*, XTextProperty*, char**, int, XSizeHints*, XWMHints*, XClassHint*);
36 extern void TSXSetWMSizeHints(Display*, Window, XSizeHints*, Atom);
37 extern int TSXSetRegion(Display*, GC, Region);
38 extern int TSXShrinkRegion(Region, int, int);
39 extern int TSXStringListToTextProperty(char**, int, XTextProperty*);
40 extern int TSXSubtractRegion(Region, Region, Region);
41 extern int TSXUnionRectWithRegion(XRectangle*, Region, Region);
42 extern int TSXUnionRegion(Region, Region, Region);
43 extern int TSXXorRegion(Region, Region, Region);
44 extern int TSXDestroyImage(struct _XImage *);
45 extern struct _XImage * TSXSubImage(struct _XImage *, int, int, unsigned int, unsigned int);
46 extern int TSXAddPixel(struct _XImage *, long);
47 extern XContext TSXUniqueContext(void);
49 #endif /* __WINE_TSXUTIL_H */