GetShortPathName: always erase characters at the end of the new
[wine/multimedia.git] / include / ts_xf86vmode.h
blob77911f5a5d050c4b55deac832d2862eab38d67b2
1 /*
2 * Thread safe wrappers around xf86vmode calls.
3 * Always include this file instead of <X11/xf86vmode.h>.
4 * This file was generated automatically by tools/make_X11wrappers
6 * Copyright 1998 Kristian Nielsen
7 */
9 #ifndef __WINE_TS_XF86VMODE_H
10 #define __WINE_TS_XF86VMODE_H
12 #include "config.h"
14 #ifndef X_DISPLAY_MISSING
16 #include "windef.h"
17 #ifdef HAVE_LIBXXF86VM
18 #define XMD_H
19 #include "basetsd.h"
21 #include <X11/Xlib.h>
22 #include <X11/extensions/xf86vmode.h>
24 extern Bool TSXF86VidModeQueryVersion(Display*,int*,int*);
25 extern Bool TSXF86VidModeQueryExtension(Display*,int*,int*);
26 extern Bool TSXF86VidModeGetModeLine(Display*,int,int*,XF86VidModeModeLine*);
27 extern Bool TSXF86VidModeGetAllModeLines(Display*,int,int*,XF86VidModeModeInfo***);
28 extern Bool TSXF86VidModeAddModeLine(Display*,int,XF86VidModeModeInfo*,XF86VidModeModeInfo*);
29 extern Bool TSXF86VidModeDeleteModeLine(Display*,int,XF86VidModeModeInfo*);
30 extern Bool TSXF86VidModeModModeLine(Display*,int,XF86VidModeModeLine*);
31 extern Status TSXF86VidModeValidateModeLine(Display*,int,XF86VidModeModeInfo*);
32 extern Bool TSXF86VidModeSwitchMode(Display*,int,int);
33 extern Bool TSXF86VidModeSwitchToMode(Display*,int,XF86VidModeModeInfo*);
34 extern Bool TSXF86VidModeLockModeSwitch(Display*,int,int);
35 extern Bool TSXF86VidModeGetMonitor(Display*,int,XF86VidModeMonitor*);
36 extern Bool TSXF86VidModeGetViewPort(Display*,int,int*,int*);
37 extern Bool TSXF86VidModeSetViewPort(Display*,int,int,int);
39 #endif /* defined(HAVE_LIBXXF86VM) */
41 #endif /* !defined(X_DISPLAY_MISSING) */
43 #endif /* __WINE_TS_XF86VMODE_H */