makefiles: Don't use standard libs for programs that specify -nodefaultlibs.
[wine/zf.git] / dlls / wintab32 / manager.c
blobd8d695545829ca70c1e69f999527943193f21ff7
1 /*
2 * Tablet Manager
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winerror.h"
27 #include "wintab.h"
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(wintab32);
33 /***********************************************************************
34 * WTMgrOpen (WINTAB32.100)
36 HMGR WINAPI WTMgrOpen(HWND hWnd, UINT wMsgBase)
38 FIXME("(%p, %u): stub\n", hWnd, wMsgBase);
40 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
42 return NULL;
45 /***********************************************************************
46 * WTMgrClose (WINTAB32.101)
48 BOOL WINAPI WTMgrClose(HMGR hMgr)
50 FIXME("(%p): stub\n", hMgr);
52 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
54 return FALSE;
57 /***********************************************************************
58 * WTMgrContextEnum (WINTAB32.120)
60 BOOL WINAPI WTMgrContextEnum(HMGR hMgr, WTENUMPROC lpEnumFunc, LPARAM lParam)
62 FIXME("(%p, %p, %ld): stub\n", hMgr, lpEnumFunc, lParam);
64 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
66 return FALSE;
69 /***********************************************************************
70 * WTMgrContextOwner (WINTAB32.121)
72 HWND WINAPI WTMgrContextOwner(HMGR hMgr, HCTX hCtx)
74 FIXME("(%p, %p): stub\n", hMgr, hCtx);
76 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
78 return NULL;
81 /***********************************************************************
82 * WTMgrDefContext (WINTAB32.122)
84 HCTX WINAPI WTMgrDefContext(HMGR hMgr, BOOL fSystem)
86 FIXME("(%p, %u): stub\n", hMgr, fSystem);
88 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
90 return NULL;
93 /***********************************************************************
94 * WTMgrDefContextEx (WINTAB32.206)
96 * 1.1
98 HCTX WINAPI WTMgrDefContextEx(HMGR hMgr, UINT wDevice, BOOL fSystem)
100 FIXME("(%p, %u, %u): stub\n", hMgr, wDevice, fSystem);
102 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
104 return NULL;
107 /***********************************************************************
108 * WTMgrDeviceConfig (WINTAB32.140)
110 UINT WINAPI WTMgrDeviceConfig(HMGR hMgr, UINT wDevice, HWND hWnd)
112 FIXME("(%p, %u, %p): stub\n", hMgr, wDevice, hWnd);
114 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
116 return 0;
119 /***********************************************************************
120 * WTMgrConfigReplaceExA (WINTAB32.202)
122 BOOL WINAPI WTMgrConfigReplaceExA(HMGR hMgr, BOOL fInstall,
123 LPSTR lpszModule, LPSTR lpszCfgProc)
125 FIXME("(%p, %u, %s, %s): stub\n", hMgr, fInstall,
126 debugstr_a(lpszModule), debugstr_a(lpszCfgProc));
128 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
130 return FALSE;
133 /***********************************************************************
134 * WTMgrConfigReplaceExW (WINTAB32.1202)
136 BOOL WINAPI WTMgrConfigReplaceExW(HMGR hMgr, BOOL fInstall,
137 LPWSTR lpszModule, LPSTR lpszCfgProc)
139 FIXME("(%p, %u, %s, %s): stub\n", hMgr, fInstall,
140 debugstr_w(lpszModule), debugstr_a(lpszCfgProc));
142 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
144 return FALSE;
147 /***********************************************************************
148 * WTMgrPacketHookExA (WINTAB32.203)
150 HWTHOOK WINAPI WTMgrPacketHookExA(HMGR hMgr, int nType,
151 LPSTR lpszModule, LPSTR lpszHookProc)
153 FIXME("(%p, %d, %s, %s): stub\n", hMgr, nType,
154 debugstr_a(lpszModule), debugstr_a(lpszHookProc));
156 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
158 return NULL;
161 /***********************************************************************
162 * WTMgrPacketHookExW (WINTAB32.1203)
164 HWTHOOK WINAPI WTMgrPacketHookExW(HMGR hMgr, int nType,
165 LPWSTR lpszModule, LPSTR lpszHookProc)
167 FIXME("(%p, %d, %s, %s): stub\n", hMgr, nType,
168 debugstr_w(lpszModule), debugstr_a(lpszHookProc));
170 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
172 return NULL;
175 /***********************************************************************
176 * WTMgrPacketUnhook (WINTAB32.204)
178 BOOL WINAPI WTMgrPacketUnhook(HWTHOOK hHook)
180 FIXME("(%p): stub\n", hHook);
182 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
184 return FALSE;
187 /***********************************************************************
188 * WTMgrPacketHookNext (WINTAB32.205)
190 LRESULT WINAPI WTMgrPacketHookNext(HWTHOOK hHook, int nCode,
191 WPARAM wParam, LPARAM lParam)
193 FIXME("(%p, %d, %lu, %lu): stub\n", hHook, nCode, wParam, lParam);
195 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
197 return 0;
201 /***********************************************************************
202 * WTMgrExt (WINTAB32.180)
204 BOOL WINAPI WTMgrExt(HMGR hMgr, UINT wExt, LPVOID lpData)
206 FIXME("(%p, %u, %p): stub\n", hMgr, wExt, lpData);
208 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
210 return FALSE;
213 /***********************************************************************
214 * WTMgrCsrEnable (WINTAB32.181)
216 BOOL WINAPI WTMgrCsrEnable(HMGR hMgr, UINT wCursor, BOOL fEnable)
218 FIXME("(%p, %u, %u): stub\n", hMgr, wCursor, fEnable);
220 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
222 return FALSE;
225 /***********************************************************************
226 * WTMgrCsrButtonMap (WINTAB32.182)
228 BOOL WINAPI WTMgrCsrButtonMap(HMGR hMgr, UINT wCursor,
229 LPBYTE lpLogBtns, LPBYTE lpSysBtns)
231 FIXME("(%p, %u, %p, %p): stub\n", hMgr, wCursor, lpLogBtns, lpSysBtns);
233 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
235 return FALSE;
238 /***********************************************************************
239 * WTMgrCsrPressureBtnMarks (WINTAB32.183)
241 * OBSOLETE IN WIN32! (But only according to documentation)
243 BOOL WINAPI WTMgrCsrPressureBtnMarks(HMGR hMgr, UINT wCsr,
244 DWORD dwNMarks, DWORD dwTMarks)
246 FIXME("(%p, %u, %u, %u): stub\n", hMgr, wCsr, dwNMarks, dwTMarks);
248 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
250 return FALSE;
253 /***********************************************************************
254 * WTMgrCsrPressureBtnMarksEx (WINTAB32.201)
256 BOOL WINAPI WTMgrCsrPressureBtnMarksEx(HMGR hMgr, UINT wCsr,
257 UINT *lpNMarks, UINT *lpTMarks)
259 FIXME("(%p, %u, %p, %p): stub\n", hMgr, wCsr, lpNMarks, lpTMarks);
261 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
263 return FALSE;
266 /***********************************************************************
267 * WTMgrCsrPressureResponse (WINTAB32.184)
269 BOOL WINAPI WTMgrCsrPressureResponse(HMGR hMgr, UINT wCsr,
270 UINT *lpNResp, UINT *lpTResp)
272 FIXME("(%p, %u, %p, %p): stub\n", hMgr, wCsr, lpNResp, lpTResp);
274 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
276 return FALSE;
279 /***********************************************************************
280 * WTMgrCsrExt (WINTAB32.185)
282 BOOL WINAPI WTMgrCsrExt(HMGR hMgr, UINT wCsr, UINT wExt, LPVOID lpData)
284 FIXME("(%p, %u, %u, %p): stub\n", hMgr, wCsr, wExt, lpData);
286 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
288 return FALSE;