ts_xf86vmode.c 2.87 KB
Newer Older
1 2 3 4 5
/*
 * Thread safe wrappers around xf86vmode calls.
 * This file was generated automatically by tools/make_X11wrappers
 * DO NOT EDIT!
 */
6 7 8

#include "config.h"

9
#include "windef.h"
10
#ifdef HAVE_LIBXXF86VM
11
#define XMD_H
12
#include "basetsd.h"
13

14 15
#include <X11/Xlib.h>
#include <X11/extensions/xf86vmode.h>
16 17

#include "ts_xf86vmode.h"
18

19

20 21 22
Bool TSXF86VidModeQueryVersion(Display*a0,int*a1,int*a2)
{
  Bool r;
23
  wine_tsx11_lock();
24
  r = XF86VidModeQueryVersion(a0,a1,a2);
25
  wine_tsx11_unlock();
26 27 28 29 30 31
  return r;
}

Bool TSXF86VidModeQueryExtension(Display*a0,int*a1,int*a2)
{
  Bool r;
32
  wine_tsx11_lock();
33
  r = XF86VidModeQueryExtension(a0,a2,a2);
34
  wine_tsx11_unlock();
35 36 37 38 39 40
  return r;
}

Bool TSXF86VidModeGetModeLine(Display*a0,int a1,int*a2,XF86VidModeModeLine*a3)
{
  Bool r;
41
  wine_tsx11_lock();
42
  r = XF86VidModeGetModeLine(a0,a1,a2,a3);
43
  wine_tsx11_unlock();
44 45 46 47 48 49
  return r;
}

Bool TSXF86VidModeGetAllModeLines(Display*a0,int a1,int*a2,XF86VidModeModeInfo***a3)
{
  Bool r;
50
  wine_tsx11_lock();
51
  r = XF86VidModeGetAllModeLines(a0,a1,a2,a3);
52
  wine_tsx11_unlock();
53 54 55 56 57 58
  return r;
}

Bool TSXF86VidModeAddModeLine(Display*a0,int a1,XF86VidModeModeInfo*a2,XF86VidModeModeInfo*a3)
{
  Bool r;
59
  wine_tsx11_lock();
60
  r = XF86VidModeAddModeLine(a0,a1,a2,a3);
61
  wine_tsx11_unlock();
62 63 64 65 66 67
  return r;
}

Bool TSXF86VidModeDeleteModeLine(Display*a0,int a1,XF86VidModeModeInfo*a2)
{
  Bool r;
68
  wine_tsx11_lock();
69
  r = XF86VidModeDeleteModeLine(a0,a1,a2);
70
  wine_tsx11_unlock();
71 72 73 74 75 76
  return r;
}

Bool TSXF86VidModeModModeLine(Display*a0,int a1,XF86VidModeModeLine*a2)
{
  Bool r;
77
  wine_tsx11_lock();
78
  r = XF86VidModeModModeLine(a0,a1,a2);
79
  wine_tsx11_unlock();
80 81 82 83 84 85
  return r;
}

Status TSXF86VidModeValidateModeLine(Display*a0,int a1,XF86VidModeModeInfo*a2)
{
  Status r;
86
  wine_tsx11_lock();
87
  r = XF86VidModeValidateModeLine(a0,a1,a2);
88
  wine_tsx11_unlock();
89 90 91 92 93 94
  return r;
}

Bool TSXF86VidModeSwitchMode(Display*a0,int a1,int a2)
{
  Bool r;
95
  wine_tsx11_lock();
96
  r = XF86VidModeSwitchMode(a0,a1,a2);
97
  wine_tsx11_unlock();
98 99 100 101 102 103
  return r;
}

Bool TSXF86VidModeSwitchToMode(Display*a0,int a1,XF86VidModeModeInfo*a2)
{
  Bool r;
104
  wine_tsx11_lock();
105
  r = XF86VidModeSwitchToMode(a0,a1,a2);
106
  wine_tsx11_unlock();
107 108 109 110 111 112
  return r;
}

Bool TSXF86VidModeLockModeSwitch(Display*a0,int a1,int a2)
{
  Bool r;
113
  wine_tsx11_lock();
114
  r = XF86VidModeLockModeSwitch(a0,a1,a2);
115
  wine_tsx11_unlock();
116 117 118 119 120 121
  return r;
}

Bool TSXF86VidModeGetMonitor(Display*a0,int a1,XF86VidModeMonitor*a2)
{
  Bool r;
122
  wine_tsx11_lock();
123
  r = XF86VidModeGetMonitor(a0,a1,a2);
124
  wine_tsx11_unlock();
125 126 127 128 129 130
  return r;
}

Bool TSXF86VidModeGetViewPort(Display*a0,int a1,int*a2,int*a3)
{
  Bool r;
131
  wine_tsx11_lock();
132
  r = XF86VidModeGetViewPort(a0,a1,a2,a3);
133
  wine_tsx11_unlock();
134 135 136 137 138 139
  return r;
}

Bool TSXF86VidModeSetViewPort(Display*a0,int a1,int a2,int a3)
{
  Bool r;
140
  wine_tsx11_lock();
141
  r = XF86VidModeSetViewPort(a0,a1,a2,a3);
142
  wine_tsx11_unlock();
143 144
  return r;
}
145 146 147

#endif /* defined(HAVE_LIBXXF86VM) */