2 * TAPI32 phone services
4 * Copyright 1999 Andreas Mohr
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
27 #include "wine/debug.h"
30 * Additional TSPI functions:
33 * - TSPI_ProviderShutdown
34 * - TSPI_ProviderEnumDevices
35 * - TSPI_ProviderConfig
37 WINE_DEFAULT_DEBUG_CHANNEL(tapi);
39 /***********************************************************************
40 * phoneClose (TAPI32.@)
42 DWORD WINAPI phoneClose(HPHONE hPhone)
44 FIXME("(%p), stub.\n", hPhone);
45 /* call TSPI function here ! */
49 /***********************************************************************
50 * phoneConfigDialog (TAPI32.@)
52 DWORD WINAPI phoneConfigDialogA(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass)
54 FIXME("(%08x, %p, %s): stub.\n", dwDeviceID, hwndOwner, lpszDeviceClass);
58 /***********************************************************************
59 * phoneDevSpecific (TAPI32.@)
61 DWORD WINAPI phoneDevSpecific(HPHONE hPhone, LPVOID lpParams, DWORD dwSize)
63 FIXME("(%p, %p, %d): stub.\n", hPhone, lpParams, dwSize);
67 /***********************************************************************
68 * phoneGetButtonInfo (TAPI32.@)
70 DWORD WINAPI phoneGetButtonInfoA(HPHONE hPhone, DWORD dwButtonLampID,
71 LPPHONEBUTTONINFO lpButtonInfo)
73 FIXME("(%p, %08x, %p): stub.\n", hPhone, dwButtonLampID, lpButtonInfo);
77 /***********************************************************************
78 * phoneGetData (TAPI32.@)
80 DWORD WINAPI phoneGetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
82 FIXME("(%p, %08x, %p, %d): stub.\n", hPhone, dwDataID, lpData, dwSize);
86 /***********************************************************************
87 * phoneGetDevCaps (TAPI32.@)
89 DWORD WINAPI phoneGetDevCapsA(HPHONEAPP hPhoneApp, DWORD dwDeviceID,
90 DWORD dwAPIVersion, DWORD dwExtVersion, LPPHONECAPS lpPhoneCaps)
92 FIXME("(%p, %08x, %08x, %08x, %p): stub.\n", hPhoneApp, dwDeviceID, dwAPIVersion, dwExtVersion, lpPhoneCaps);
93 /* call TSPI function here ! */
97 /***********************************************************************
98 * phoneGetDisplay (TAPI32.@)
100 DWORD WINAPI phoneGetDisplay(HPHONE hPhone, LPVARSTRING lpDisplay)
102 FIXME("(%p, %p): stub.\n", hPhone, lpDisplay);
106 /***********************************************************************
107 * phoneGetGain (TAPI32.@)
109 DWORD WINAPI phoneGetGain(HPHONE hPhone, DWORD dwHookSwitchDev, LPDWORD lpdwGain)
111 FIXME("(%p, %08x, %p): stub.\n", hPhone, dwHookSwitchDev, lpdwGain);
112 /* call TSPI function here ! */
116 /***********************************************************************
117 * phoneGetHookSwitch (TAPI32.@)
119 DWORD WINAPI phoneGetHookSwitch(HPHONE hPhone, LPDWORD lpdwHookSwitchDevs)
121 FIXME("(%p, %p): stub.\n", hPhone, lpdwHookSwitchDevs);
122 /* call TSPI function here ! */
126 /***********************************************************************
127 * phoneGetID (TAPI32.@)
129 DWORD WINAPI phoneGetIDA(HPHONE hPhone, LPVARSTRING lpDeviceID,
130 LPCSTR lpszDeviceClass)
132 FIXME("(%p, %p, %s): stub.\n", hPhone, lpDeviceID, lpszDeviceClass);
133 /* call TSPI function here ! */
137 /***********************************************************************
138 * phoneGetIcon (TAPI32.@)
140 DWORD WINAPI phoneGetIconA(DWORD dwDeviceID, LPCSTR lpszDeviceClass,
143 FIXME("(%08x, %s, %p): stub.\n", dwDeviceID, lpszDeviceClass, lphIcon);
144 /* call TSPI function here ! */
148 /***********************************************************************
149 * phoneGetLamp (TAPI32.@)
151 DWORD WINAPI phoneGetLamp(HPHONE hPhone, DWORD dwButtonLampID,
152 LPDWORD lpdwLampMode)
154 FIXME("(%p, %08x, %p): stub.\n", hPhone, dwButtonLampID, lpdwLampMode);
158 /***********************************************************************
159 * phoneGetRing (TAPI32.@)
161 DWORD WINAPI phoneGetRing(HPHONE hPhone, LPDWORD lpdwRingMode, LPDWORD lpdwVolume)
163 FIXME("(%p, %p, %p): stub.\n", hPhone, lpdwRingMode, lpdwVolume);
167 /***********************************************************************
168 * phoneGetStatus (TAPI32.@)
170 DWORD WINAPI phoneGetStatusA(HPHONE hPhone, LPPHONESTATUS lpPhoneStatus)
172 FIXME("(%p, %p): stub.\n", hPhone, lpPhoneStatus);
173 /* call TSPI function here ! */
177 /***********************************************************************
178 * phoneGetStatusMessages (TAPI32.@)
180 DWORD WINAPI phoneGetStatusMessages(HPHONE hPhone, LPDWORD lpdwPhoneStates,
181 LPDWORD lpdwButtonModes, LPDWORD lpdwButtonStates)
183 FIXME("(%p, %p, %p, %p): stub.\n", hPhone, lpdwPhoneStates, lpdwButtonModes, lpdwButtonStates);
187 /***********************************************************************
188 * phoneGetVolume (TAPI32.@)
190 DWORD WINAPI phoneGetVolume(HPHONE hPhone, DWORD dwHookSwitchDevs,
193 FIXME("(%p, %08x, %p): stub.\n", hPhone, dwHookSwitchDevs, lpdwVolume);
194 /* call TSPI function here ! */
198 /***********************************************************************
199 * phoneInitialize (TAPI32.@)
201 DWORD WINAPI phoneInitialize(LPHPHONEAPP lphPhoneApp, HINSTANCE hInstance, PHONECALLBACK lpfnCallback, LPCSTR lpszAppName, LPDWORD lpdwNumDevs)
203 FIXME("(%p, %p, %p, %s, %p): stub.\n", lphPhoneApp, hInstance, lpfnCallback, lpszAppName, lpdwNumDevs);
207 /***********************************************************************
208 * phoneNegotiateAPIVersion (TAPI32.@)
210 DWORD WINAPI phoneNegotiateAPIVersion(HPHONEAPP hPhoneApp, DWORD dwDeviceID, DWORD dwAPILowVersion, DWORD dwAPIHighVersion, LPDWORD lpdwAPIVersion, LPPHONEEXTENSIONID lpExtensionID)
212 FIXME("(): stub.\n");
216 /***********************************************************************
217 * phoneNegotiateExtVersion (TAPI32.@)
219 DWORD WINAPI phoneNegotiateExtVersion(HPHONEAPP hPhoneApp, DWORD dwDeviceID,
220 DWORD dwAPIVersion, DWORD dwExtLowVersion,
221 DWORD dwExtHighVersion, LPDWORD lpdwExtVersion)
223 FIXME("(): stub.\n");
224 /* call TSPI function here ! */
228 /***********************************************************************
229 * phoneOpen (TAPI32.@)
231 DWORD WINAPI phoneOpen(HPHONEAPP hPhoneApp, DWORD dwDeviceID, LPHPHONE lphPhone, DWORD dwAPIVersion, DWORD dwExtVersion, DWORD dwCallbackInstance, DWORD dwPrivileges)
233 FIXME("(): stub.\n");
234 /* call TSPI function here ! */
238 /***********************************************************************
239 * phoneSetButtonInfo (TAPI32.@)
241 DWORD WINAPI phoneSetButtonInfoA(HPHONE hPhone, DWORD dwButtonLampID, LPPHONEBUTTONINFO lpButtonInfo)
243 FIXME("(%p, %08x, %p): stub.\n", hPhone, dwButtonLampID, lpButtonInfo);
247 /***********************************************************************
248 * phoneSetData (TAPI32.@)
250 DWORD WINAPI phoneSetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
252 FIXME("(%p, %08x, %p, %d): stub.\n", hPhone, dwDataID, lpData, dwSize);
256 /***********************************************************************
257 * phoneSetDisplay (TAPI32.@)
259 DWORD WINAPI phoneSetDisplay(HPHONE hPhone, DWORD dwRow, DWORD dwColumn, LPCSTR lpszDisplay, DWORD dwSize)
261 FIXME("(%p, '%s' at %d/%d, len %d): stub.\n", hPhone, lpszDisplay, dwRow, dwColumn, dwSize);
265 /***********************************************************************
266 * phoneSetGain (TAPI32.@)
268 DWORD WINAPI phoneSetGain(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwGain)
270 FIXME("(%p, %08x, %d): stub.\n", hPhone, dwHookSwitchDev, dwGain);
271 /* call TSPI function here ! */
275 /***********************************************************************
276 * phoneSetHookSwitch (TAPI32.@)
278 DWORD WINAPI phoneSetHookSwitch(HPHONE hPhone, DWORD dwHookSwitchDevs, DWORD dwHookSwitchMode)
280 FIXME("(%p, %08x, %08x): stub.\n", hPhone, dwHookSwitchDevs, dwHookSwitchMode);
281 /* call TSPI function here ! */
285 /***********************************************************************
286 * phoneSetLamp (TAPI32.@)
288 DWORD WINAPI phoneSetLamp(HPHONE hPhone, DWORD dwButtonLampID, DWORD lpdwLampMode)
290 FIXME("(%p, %08x, %08x): stub.\n", hPhone, dwButtonLampID, lpdwLampMode);
294 /***********************************************************************
295 * phoneSetRing (TAPI32.@)
297 DWORD WINAPI phoneSetRing(HPHONE hPhone, DWORD dwRingMode, DWORD dwVolume)
299 FIXME("(%p, %08x, %08x): stub.\n", hPhone, dwRingMode, dwVolume);
303 /***********************************************************************
304 * phoneSetStatusMessages (TAPI32.@)
306 DWORD WINAPI phoneSetStatusMessages(HPHONE hPhone, DWORD dwPhoneStates, DWORD dwButtonModes, DWORD dwButtonStates)
308 FIXME("(%p, %08x, %08x, %08x): stub.\n", hPhone, dwPhoneStates, dwButtonModes, dwButtonStates);
309 /* call TSPI function here ! */
310 return 0; /* FIXME ? */
313 /***********************************************************************
314 * phoneSetVolume (TAPI32.@)
316 DWORD WINAPI phoneSetVolume(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwVolume)
318 FIXME("(%p, %08x, %08x): stub.\n", hPhone, dwHookSwitchDev, dwVolume);
319 /* call TSPI function here ! */
323 /***********************************************************************
324 * phoneShutdown (TAPI32.@)
326 DWORD WINAPI phoneShutdown(HPHONEAPP hPhoneApp)
328 FIXME("(%p): stub.\n", hPhoneApp);