Link msdos/int21.c into kernel for now, until it is properly moved to
[wine/multimedia.git] / dlls / wintab32 / context.c
blob9071837f2e26799225c834222d90ef106af6dd2f
1 /*
2 * Tablet Context
4 * Copyright 2002 Patrik Stridvall
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #include "config.h"
23 #include <stdarg.h>
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winerror.h"
29 #include "wintab.h"
31 #include "wine/debug.h"
33 WINE_DEFAULT_DEBUG_CHANNEL(wintab32);
35 /***********************************************************************
36 * WTInfoA (WINTAB32.20)
38 UINT WINAPI WTInfoA(UINT wCategory, UINT nIndex, LPVOID lpOutput)
40 FIXME("(%u, %u, %p): stub\n", wCategory, nIndex, lpOutput);
42 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
44 return 0;
47 /***********************************************************************
48 * WTInfoW (WINTAB32.1020)
50 UINT WINAPI WTInfoW(UINT wCategory, UINT nIndex, LPVOID lpOutput)
52 FIXME("(%u, %u, %p): stub\n", wCategory, nIndex, lpOutput);
54 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
56 return 0;
59 /***********************************************************************
60 * WTOpenA (WINTAB32.21)
62 HCTX WINAPI WTOpenA(HWND hWnd, LPLOGCONTEXTA lpLogCtx, BOOL fEnable)
64 FIXME("(%p, %p, %u): stub\n", hWnd, lpLogCtx, fEnable);
66 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
68 return NULL;
71 /***********************************************************************
72 * WTOpenW (WINTAB32.1021)
74 HCTX WINAPI WTOpenW(HWND hWnd, LPLOGCONTEXTW lpLogCtx, BOOL fEnable)
76 FIXME("(%p, %p, %u): stub\n", hWnd, lpLogCtx, fEnable);
78 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
80 return NULL;
83 /***********************************************************************
84 * WTClose (WINTAB32.22)
86 BOOL WINAPI WTClose(HCTX hCtx)
88 FIXME("(%p): stub\n", hCtx);
90 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
92 return TRUE;
95 /***********************************************************************
96 * WTPacketsGet (WINTAB32.23)
98 int WINAPI WTPacketsGet(HCTX hCtx, int cMaxPkts, LPVOID lpPkts)
100 FIXME("(%p, %d, %p): stub\n", hCtx, cMaxPkts, lpPkts);
102 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
104 return 0;
107 /***********************************************************************
108 * WTPacket (WINTAB32.24)
110 BOOL WINAPI WTPacket(HCTX hCtx, UINT wSerial, LPVOID lpPkt)
112 FIXME("(%p, %d, %p): stub\n", hCtx, wSerial, lpPkt);
114 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
116 return FALSE;
119 /***********************************************************************
120 * WTEnable (WINTAB32.40)
122 BOOL WINAPI WTEnable(HCTX hCtx, BOOL fEnable)
124 FIXME("(%p, %u): stub\n", hCtx, fEnable);
126 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
128 return FALSE;
131 /***********************************************************************
132 * WTOverlap (WINTAB32.41)
134 BOOL WINAPI WTOverlap(HCTX hCtx, BOOL fToTop)
136 FIXME("(%p, %u): stub\n", hCtx, fToTop);
138 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
140 return FALSE;
143 /***********************************************************************
144 * WTConfig (WINTAB32.61)
146 BOOL WINAPI WTConfig(HCTX hCtx, HWND hWnd)
148 FIXME("(%p, %p): stub\n", hCtx, hWnd);
150 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
152 return FALSE;
155 /***********************************************************************
156 * WTGetA (WINTAB32.61)
158 BOOL WINAPI WTGetA(HCTX hCtx, LPLOGCONTEXTA lpLogCtx)
160 FIXME("(%p, %p): stub\n", hCtx, lpLogCtx);
162 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
164 return FALSE;
167 /***********************************************************************
168 * WTGetW (WINTAB32.1061)
170 BOOL WINAPI WTGetW(HCTX hCtx, LPLOGCONTEXTW lpLogCtx)
172 FIXME("(%p, %p): stub\n", hCtx, lpLogCtx);
174 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
176 return FALSE;
179 /***********************************************************************
180 * WTSetA (WINTAB32.62)
182 BOOL WINAPI WTSetA(HCTX hCtx, LPLOGCONTEXTA lpLogCtx)
184 FIXME("(%p, %p): stub\n", hCtx, lpLogCtx);
186 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
188 return FALSE;
191 /***********************************************************************
192 * WTSetW (WINTAB32.1062)
194 BOOL WINAPI WTSetW(HCTX hCtx, LPLOGCONTEXTW lpLogCtx)
196 FIXME("(%p, %p): stub\n", hCtx, lpLogCtx);
198 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
200 return FALSE;
203 /***********************************************************************
204 * WTExtGet (WINTAB32.63)
206 BOOL WINAPI WTExtGet(HCTX hCtx, UINT wExt, LPVOID lpData)
208 FIXME("(%p, %u, %p): stub\n", hCtx, wExt, lpData);
210 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
212 return FALSE;
215 /***********************************************************************
216 * WTExtSet (WINTAB32.64)
218 BOOL WINAPI WTExtSet(HCTX hCtx, UINT wExt, LPVOID lpData)
220 FIXME("(%p, %u, %p): stub\n", hCtx, wExt, lpData);
222 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
224 return FALSE;
227 /***********************************************************************
228 * WTSave (WINTAB32.65)
230 BOOL WINAPI WTSave(HCTX hCtx, LPVOID lpSaveInfo)
232 FIXME("(%p, %p): stub\n", hCtx, lpSaveInfo);
234 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
236 return FALSE;
239 /***********************************************************************
240 * WTRestore (WINTAB32.66)
242 HCTX WINAPI WTRestore(HWND hWnd, LPVOID lpSaveInfo, BOOL fEnable)
244 FIXME("(%p, %p, %u): stub\n", hWnd, lpSaveInfo, fEnable);
246 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
248 return 0;
251 /***********************************************************************
252 * WTPacketsPeek (WINTAB32.80)
254 int WINAPI WTPacketsPeek(HCTX hCtx, int cMaxPkts, LPVOID lpPkts)
256 FIXME("(%p, %d, %p): stub\n", hCtx, cMaxPkts, lpPkts);
258 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
260 return 0;
263 /***********************************************************************
264 * WTDataGet (WINTAB32.81)
266 int WINAPI WTDataGet(HCTX hCtx, UINT wBegin, UINT wEnd,
267 int cMaxPkts, LPVOID lpPkts, LPINT lpNPkts)
269 FIXME("(%p, %u, %u, %d, %p, %p): stub\n",
270 hCtx, wBegin, wEnd, cMaxPkts, lpPkts, lpNPkts);
272 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
274 return 0;
277 /***********************************************************************
278 * WTDataPeek (WINTAB32.82)
280 int WINAPI WTDataPeek(HCTX hCtx, UINT wBegin, UINT wEnd,
281 int cMaxPkts, LPVOID lpPkts, LPINT lpNPkts)
283 FIXME("(%p, %u, %u, %d, %p, %p): stub\n",
284 hCtx, wBegin, wEnd, cMaxPkts, lpPkts, lpNPkts);
286 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
288 return 0;
291 /***********************************************************************
292 * WTQueuePacketsEx (WINTAB32.200)
294 BOOL WINAPI WTQueuePacketsEx(HCTX hCtx, UINT *lpOld, UINT *lpNew)
296 FIXME("(%p, %p, %p): stub\n", hCtx, lpOld, lpNew);
298 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
300 return TRUE;
303 /***********************************************************************
304 * WTQueueSizeGet (WINTAB32.84)
306 int WINAPI WTQueueSizeGet(HCTX hCtx)
308 FIXME("(%p): stub\n", hCtx);
310 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
312 return 0;
315 /***********************************************************************
316 * WTQueueSizeSet (WINTAB32.85)
318 BOOL WINAPI WTQueueSizeSet(HCTX hCtx, int nPkts)
320 FIXME("(%p, %d): stub\n", hCtx, nPkts);
322 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
324 return 0;