wer: Add new stubbed wer.dll.
[wine/hramrach.git] / dlls / wintab32 / manager.c
blobf225d076891ee4516dbee49d6dc14566763c182b
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 "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 * WTMgrOpen (WINTAB32.100)
38 HMGR WINAPI WTMgrOpen(HWND hWnd, UINT wMsgBase)
40 FIXME("(%p, %u): stub\n", hWnd, wMsgBase);
42 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
44 return NULL;
47 /***********************************************************************
48 * WTMgrClose (WINTAB32.101)
50 BOOL WINAPI WTMgrClose(HMGR hMgr)
52 FIXME("(%p): stub\n", hMgr);
54 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
56 return FALSE;
59 /***********************************************************************
60 * WTMgrContextEnum (WINTAB32.120)
62 BOOL WINAPI WTMgrContextEnum(HMGR hMgr, WTENUMPROC lpEnumFunc, LPARAM lParam)
64 FIXME("(%p, %p, %ld): stub\n", hMgr, lpEnumFunc, lParam);
66 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
68 return FALSE;
71 /***********************************************************************
72 * WTMgrContextOwner (WINTAB32.121)
74 HWND WINAPI WTMgrContextOwner(HMGR hMgr, HCTX hCtx)
76 FIXME("(%p, %p): stub\n", hMgr, hCtx);
78 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
80 return NULL;
83 /***********************************************************************
84 * WTMgrDefContext (WINTAB32.122)
86 HCTX WINAPI WTMgrDefContext(HMGR hMgr, BOOL fSystem)
88 FIXME("(%p, %u): stub\n", hMgr, fSystem);
90 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
92 return NULL;
95 /***********************************************************************
96 * WTMgrDefContextEx (WINTAB32.206)
98 * 1.1
100 HCTX WINAPI WTMgrDefContextEx(HMGR hMgr, UINT wDevice, BOOL fSystem)
102 FIXME("(%p, %hu, %hu): stub\n", hMgr, wDevice, fSystem);
104 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
106 return NULL;
109 /***********************************************************************
110 * WTMgrDeviceConfig (WINTAB32.140)
112 UINT WINAPI WTMgrDeviceConfig(HMGR hMgr, UINT wDevice, HWND hWnd)
114 FIXME("(%p, %u, %p): stub\n", hMgr, wDevice, hWnd);
116 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
118 return 0;
121 /***********************************************************************
122 * WTMgrConfigReplaceExA (WINTAB32.202)
124 BOOL WINAPI WTMgrConfigReplaceExA(HMGR hMgr, BOOL fInstall,
125 LPSTR lpszModule, LPSTR lpszCfgProc)
127 FIXME("(%p, %u, %s, %s): stub\n", hMgr, fInstall,
128 debugstr_a(lpszModule), debugstr_a(lpszCfgProc));
130 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
132 return FALSE;
135 /***********************************************************************
136 * WTMgrConfigReplaceExW (WINTAB32.1202)
138 BOOL WINAPI WTMgrConfigReplaceExW(HMGR hMgr, BOOL fInstall,
139 LPWSTR lpszModule, LPSTR lpszCfgProc)
141 FIXME("(%p, %u, %s, %s): stub\n", hMgr, fInstall,
142 debugstr_w(lpszModule), debugstr_a(lpszCfgProc));
144 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
146 return FALSE;
149 /***********************************************************************
150 * WTMgrPacketHookExA (WINTAB32.203)
152 HWTHOOK WINAPI WTMgrPacketHookExA(HMGR hMgr, int nType,
153 LPSTR lpszModule, LPSTR lpszHookProc)
155 FIXME("(%p, %d, %s, %s): stub\n", hMgr, nType,
156 debugstr_a(lpszModule), debugstr_a(lpszHookProc));
158 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
160 return NULL;
163 /***********************************************************************
164 * WTMgrPacketHookExW (WINTAB32.1203)
166 HWTHOOK WINAPI WTMgrPacketHookExW(HMGR hMgr, int nType,
167 LPWSTR lpszModule, LPSTR lpszHookProc)
169 FIXME("(%p, %d, %s, %s): stub\n", hMgr, nType,
170 debugstr_w(lpszModule), debugstr_a(lpszHookProc));
172 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
174 return NULL;
177 /***********************************************************************
178 * WTMgrPacketUnhook (WINTAB32.204)
180 BOOL WINAPI WTMgrPacketUnhook(HWTHOOK hHook)
182 FIXME("(%p): stub\n", hHook);
184 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
186 return FALSE;
189 /***********************************************************************
190 * WTMgrPacketHookNext (WINTAB32.205)
192 LRESULT WINAPI WTMgrPacketHookNext(HWTHOOK hHook, int nCode,
193 WPARAM wParam, LPARAM lParam)
195 FIXME("(%p, %d, %lu, %lu): stub\n", hHook, nCode, wParam, lParam);
197 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
199 return 0;
203 /***********************************************************************
204 * WTMgrExt (WINTAB32.180)
206 BOOL WINAPI WTMgrExt(HMGR hMgr, UINT wExt, LPVOID lpData)
208 FIXME("(%p, %u, %p): stub\n", hMgr, wExt, lpData);
210 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
212 return FALSE;
215 /***********************************************************************
216 * WTMgrCsrEnable (WINTAB32.181)
218 BOOL WINAPI WTMgrCsrEnable(HMGR hMgr, UINT wCursor, BOOL fEnable)
220 FIXME("(%p, %u, %u): stub\n", hMgr, wCursor, fEnable);
222 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
224 return FALSE;
227 /***********************************************************************
228 * WTMgrCsrButtonMap (WINTAB32.182)
230 BOOL WINAPI WTMgrCsrButtonMap(HMGR hMgr, UINT wCursor,
231 LPBYTE lpLogBtns, LPBYTE lpSysBtns)
233 FIXME("(%p, %u, %p, %p): stub\n", hMgr, wCursor, lpLogBtns, lpSysBtns);
235 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
237 return FALSE;
240 /***********************************************************************
241 * WTMgrCsrPressureBtnMarks (WINTAB32.183)
243 * OBSOLETE IN WIN32! (But only according to documentation)
245 BOOL WINAPI WTMgrCsrPressureBtnMarks(HMGR hMgr, UINT wCsr,
246 DWORD dwNMarks, DWORD dwTMarks)
248 FIXME("(%p, %u, %u, %u): stub\n", hMgr, wCsr, dwNMarks, dwTMarks);
250 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
252 return FALSE;
255 /***********************************************************************
256 * WTMgrCsrPressureBtnMarksEx (WINTAB32.201)
258 BOOL WINAPI WTMgrCsrPressureBtnMarksEx(HMGR hMgr, UINT wCsr,
259 UINT *lpNMarks, UINT *lpTMarks)
261 FIXME("(%p, %u, %p, %p): stub\n", hMgr, wCsr, lpNMarks, lpTMarks);
263 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
265 return FALSE;
268 /***********************************************************************
269 * WTMgrCsrPressureResponse (WINTAB32.184)
271 BOOL WINAPI WTMgrCsrPressureResponse(HMGR hMgr, UINT wCsr,
272 UINT *lpNResp, UINT *lpTResp)
274 FIXME("(%p, %u, %p, %p): stub\n", hMgr, wCsr, lpNResp, lpTResp);
276 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
278 return FALSE;
281 /***********************************************************************
282 * WTMgrCsrExt (WINTAB32.185)
284 BOOL WINAPI WTMgrCsrExt(HMGR hMgr, UINT wCsr, UINT wExt, LPVOID lpData)
286 FIXME("(%p, %u, %u, %p): stub\n", hMgr, wCsr, wExt, lpData);
288 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
290 return FALSE;