1998-12-08 14:10:56 +01:00
|
|
|
/*
|
|
|
|
* Thread safe wrappers around xf86vmode calls.
|
|
|
|
* This file was generated automatically by tools/make_X11wrappers
|
|
|
|
* DO NOT EDIT!
|
|
|
|
*/
|
1999-02-04 11:51:35 +01:00
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
1999-03-14 17:35:05 +01:00
|
|
|
#include "windef.h"
|
1998-12-08 14:10:56 +01:00
|
|
|
#ifdef HAVE_LIBXXF86VM
|
1998-12-08 16:06:38 +01:00
|
|
|
#define XMD_H
|
1999-07-04 17:56:03 +02:00
|
|
|
#include "basetsd.h"
|
1999-03-28 11:37:57 +02:00
|
|
|
|
1998-12-08 14:10:56 +01:00
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include <X11/extensions/xf86vmode.h>
|
1999-07-31 16:38:31 +02:00
|
|
|
|
|
|
|
#include "ts_xf86vmode.h"
|
1998-12-08 14:10:56 +01:00
|
|
|
|
1999-04-19 16:56:29 +02:00
|
|
|
|
1998-12-08 14:10:56 +01:00
|
|
|
Bool TSXF86VidModeQueryVersion(Display*a0,int*a1,int*a2)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeQueryVersion(a0,a1,a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXF86VidModeQueryExtension(Display*a0,int*a1,int*a2)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeQueryExtension(a0,a2,a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXF86VidModeGetModeLine(Display*a0,int a1,int*a2,XF86VidModeModeLine*a3)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeGetModeLine(a0,a1,a2,a3);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXF86VidModeGetAllModeLines(Display*a0,int a1,int*a2,XF86VidModeModeInfo***a3)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeGetAllModeLines(a0,a1,a2,a3);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXF86VidModeAddModeLine(Display*a0,int a1,XF86VidModeModeInfo*a2,XF86VidModeModeInfo*a3)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeAddModeLine(a0,a1,a2,a3);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXF86VidModeDeleteModeLine(Display*a0,int a1,XF86VidModeModeInfo*a2)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeDeleteModeLine(a0,a1,a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXF86VidModeModModeLine(Display*a0,int a1,XF86VidModeModeLine*a2)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeModModeLine(a0,a1,a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Status TSXF86VidModeValidateModeLine(Display*a0,int a1,XF86VidModeModeInfo*a2)
|
|
|
|
{
|
|
|
|
Status r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeValidateModeLine(a0,a1,a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXF86VidModeSwitchMode(Display*a0,int a1,int a2)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeSwitchMode(a0,a1,a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXF86VidModeSwitchToMode(Display*a0,int a1,XF86VidModeModeInfo*a2)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeSwitchToMode(a0,a1,a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXF86VidModeLockModeSwitch(Display*a0,int a1,int a2)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeLockModeSwitch(a0,a1,a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXF86VidModeGetMonitor(Display*a0,int a1,XF86VidModeMonitor*a2)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeGetMonitor(a0,a1,a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXF86VidModeGetViewPort(Display*a0,int a1,int*a2,int*a3)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeGetViewPort(a0,a1,a2,a3);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXF86VidModeSetViewPort(Display*a0,int a1,int a2,int a3)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1998-12-08 14:10:56 +01:00
|
|
|
r = XF86VidModeSetViewPort(a0,a1,a2,a3);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1998-12-08 14:10:56 +01:00
|
|
|
return r;
|
|
|
|
}
|
1999-02-04 11:51:35 +01:00
|
|
|
|
|
|
|
#endif /* defined(HAVE_LIBXXF86VM) */
|
|
|
|
|