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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #include "wine/debug.h"
27 * Additional TSPI functions:
30 * - TSPI_ProviderShutdown
31 * - TSPI_ProviderEnumDevices
32 * - TSPI_ProviderConfig
34 WINE_DEFAULT_DEBUG_CHANNEL(tapi);
36 /***********************************************************************
37 * phoneClose (TAPI32.@)
39 DWORD WINAPI phoneClose(HPHONE hPhone)
41 FIXME("(%p), stub.\n", hPhone);
42 /* call TSPI function here ! */
46 /***********************************************************************
47 * phoneConfigDialog (TAPI32.@)
49 DWORD WINAPI phoneConfigDialog(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass)
51 FIXME("(%08lx, %p, %s): stub.\n", dwDeviceID, hwndOwner, lpszDeviceClass);
55 /***********************************************************************
56 * phoneDevSpecific (TAPI32.@)
58 DWORD WINAPI phoneDevSpecific(HPHONE hPhone, LPVOID lpParams, DWORD dwSize)
60 FIXME("(%p, %p, %08ld): stub.\n", hPhone, lpParams, dwSize);
64 /***********************************************************************
65 * phoneGetButtonInfo (TAPI32.@)
67 DWORD WINAPI phoneGetButtonInfo(HPHONE hPhone, DWORD dwButtonLampID,
68 LPPHONEBUTTONINFO lpButtonInfo)
70 FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwButtonLampID, lpButtonInfo);
74 /***********************************************************************
75 * phoneGetData (TAPI32.@)
77 DWORD WINAPI phoneGetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
79 FIXME("(%p, %08ld, %p, %08ld): stub.\n", hPhone, dwDataID, lpData, dwSize);
83 /***********************************************************************
84 * phoneGetDevCaps (TAPI32.@)
86 DWORD WINAPI phoneGetDevCaps(HPHONEAPP hPhoneApp, DWORD dwDeviceID,
87 DWORD dwAPIVersion, DWORD dwExtVersion, LPPHONECAPS lpPhoneCaps)
89 FIXME("(%p, %08ld, %08lx, %08lx, %p): stub.\n", hPhoneApp, dwDeviceID, dwAPIVersion, dwExtVersion, lpPhoneCaps);
90 /* call TSPI function here ! */
94 /***********************************************************************
95 * phoneGetDisplay (TAPI32.@)
97 DWORD WINAPI phoneGetDisplay(HPHONE hPhone, LPVARSTRING lpDisplay)
99 FIXME("(%p, %p): stub.\n", hPhone, lpDisplay);
103 /***********************************************************************
104 * phoneGetGain (TAPI32.@)
106 DWORD WINAPI phoneGetGain(HPHONE hPhone, DWORD dwHookSwitchDev, LPDWORD lpdwGain)
108 FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwHookSwitchDev, lpdwGain);
109 /* call TSPI function here ! */
113 /***********************************************************************
114 * phoneGetHookSwitch (TAPI32.@)
116 DWORD WINAPI phoneGetHookSwitch(HPHONE hPhone, LPDWORD lpdwHookSwitchDevs)
118 FIXME("(%p, %p): stub.\n", hPhone, lpdwHookSwitchDevs);
119 /* call TSPI function here ! */
123 /***********************************************************************
124 * phoneGetID (TAPI32.@)
126 DWORD WINAPI phoneGetID(HPHONE hPhone, LPVARSTRING lpDeviceID,
127 LPCSTR lpszDeviceClass)
129 FIXME("(%p, %p, %s): stub.\n", hPhone, lpDeviceID, lpszDeviceClass);
130 /* call TSPI function here ! */
134 /***********************************************************************
135 * phoneGetIcon (TAPI32.@)
137 DWORD WINAPI phoneGetIcon(DWORD dwDeviceID, LPCSTR lpszDeviceClass,
140 FIXME("(%08lx, %s, %p): stub.\n", dwDeviceID, lpszDeviceClass, lphIcon);
141 /* call TSPI function here ! */
145 /***********************************************************************
146 * phoneGetLamp (TAPI32.@)
148 DWORD WINAPI phoneGetLamp(HPHONE hPhone, DWORD dwButtonLampID,
149 LPDWORD lpdwLampMode)
151 FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwButtonLampID, lpdwLampMode);
155 /***********************************************************************
156 * phoneGetRing (TAPI32.@)
158 DWORD WINAPI phoneGetRing(HPHONE hPhone, LPDWORD lpdwRingMode, LPDWORD lpdwVolume)
160 FIXME("(%p, %p, %p): stub.\n", hPhone, lpdwRingMode, lpdwVolume);
164 /***********************************************************************
165 * phoneGetStatus (TAPI32.@)
167 DWORD WINAPI phoneGetStatus(HPHONE hPhone, LPPHONESTATUS lpPhoneStatus)
169 FIXME("(%p, %p): stub.\n", hPhone, lpPhoneStatus);
170 /* call TSPI function here ! */
174 /***********************************************************************
175 * phoneGetStatusMessages (TAPI32.@)
177 DWORD WINAPI phoneGetStatusMessages(HPHONE hPhone, LPDWORD lpdwPhoneStates,
178 LPDWORD lpdwButtonModes, LPDWORD lpdwButtonStates)
180 FIXME("(%p, %p, %p, %p): stub.\n", hPhone, lpdwPhoneStates, lpdwButtonModes, lpdwButtonStates);
184 /***********************************************************************
185 * phoneGetVolume (TAPI32.@)
187 DWORD WINAPI phoneGetVolume(HPHONE hPhone, DWORD dwHookSwitchDevs,
190 FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwHookSwitchDevs, lpdwVolume);
191 /* call TSPI function here ! */
195 /***********************************************************************
196 * phoneInitialize (TAPI32.@)
198 DWORD WINAPI phoneInitialize(LPHPHONEAPP lphPhoneApp, HINSTANCE hInstance, PHONECALLBACK lpfnCallback, LPCSTR lpszAppName, LPDWORD lpdwNumDevs)
200 FIXME("(%p, %p, %p, %s, %p): stub.\n", lphPhoneApp, hInstance, lpfnCallback, lpszAppName, lpdwNumDevs);
204 /***********************************************************************
205 * phoneNegotiateAPIVersion (TAPI32.@)
207 DWORD WINAPI phoneNegotiateAPIVersion(HPHONEAPP hPhoneApp, DWORD dwDeviceID, DWORD dwAPILowVersion, DWORD dwAPIHighVersion, LPDWORD lpdwAPIVersion, LPPHONEEXTENSIONID lpExtensionID)
209 FIXME("(): stub.\n");
213 /***********************************************************************
214 * phoneNegotiateExtVersion (TAPI32.@)
216 DWORD WINAPI phoneNegotiateExtVersion(HPHONEAPP hPhoneApp, DWORD dwDeviceID,
217 DWORD dwAPIVersion, DWORD dwExtLowVersion,
218 DWORD dwExtHighVersion, LPDWORD lpdwExtVersion)
220 FIXME("(): stub.\n");
221 /* call TSPI function here ! */
225 /***********************************************************************
226 * phoneOpen (TAPI32.@)
228 DWORD WINAPI phoneOpen(HPHONEAPP hPhoneApp, DWORD dwDeviceID, LPHPHONE lphPhone, DWORD dwAPIVersion, DWORD dwExtVersion, DWORD dwCallbackInstance, DWORD dwPrivileges)
230 FIXME("(): stub.\n");
231 /* call TSPI function here ! */
235 /***********************************************************************
236 * phoneSetButtonInfo (TAPI32.@)
238 DWORD WINAPI phoneSetButtonInfo(HPHONE hPhone, DWORD dwButtonLampID, LPPHONEBUTTONINFO lpButtonInfo)
240 FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwButtonLampID, lpButtonInfo);
244 /***********************************************************************
245 * phoneSetData (TAPI32.@)
247 DWORD WINAPI phoneSetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
249 FIXME("(%p, %08lx, %p, %ld): stub.\n", hPhone, dwDataID, lpData, dwSize);
253 /***********************************************************************
254 * phoneSetDisplay (TAPI32.@)
256 DWORD WINAPI phoneSetDisplay(HPHONE hPhone, DWORD dwRow, DWORD dwColumn, LPCSTR lpszDisplay, DWORD dwSize)
258 FIXME("(%p, '%s' at %ld/%ld, len %ld): stub.\n", hPhone, lpszDisplay, dwRow, dwColumn, dwSize);
262 /***********************************************************************
263 * phoneSetGain (TAPI32.@)
265 DWORD WINAPI phoneSetGain(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwGain)
267 FIXME("(%p, %08lx, %ld): stub.\n", hPhone, dwHookSwitchDev, dwGain);
268 /* call TSPI function here ! */
272 /***********************************************************************
273 * phoneSetHookSwitch (TAPI32.@)
275 DWORD WINAPI phoneSetHookSwitch(HPHONE hPhone, DWORD dwHookSwitchDevs, DWORD dwHookSwitchMode)
277 FIXME("(%p, %08lx, %08lx): stub.\n", hPhone, dwHookSwitchDevs, dwHookSwitchMode);
278 /* call TSPI function here ! */
282 /***********************************************************************
283 * phoneSetLamp (TAPI32.@)
285 DWORD WINAPI phoneSetLamp(HPHONE hPhone, DWORD dwButtonLampID, DWORD lpdwLampMode)
287 FIXME("(%p, %08lx, %08lx): stub.\n", hPhone, dwButtonLampID, lpdwLampMode);
291 /***********************************************************************
292 * phoneSetRing (TAPI32.@)
294 DWORD WINAPI phoneSetRing(HPHONE hPhone, DWORD dwRingMode, DWORD dwVolume)
296 FIXME("(%p, %08lx, %08lx): stub.\n", hPhone, dwRingMode, dwVolume);
300 /***********************************************************************
301 * phoneSetStatusMessages (TAPI32.@)
303 DWORD WINAPI phoneSetStatusMessages(HPHONE hPhone, DWORD dwPhoneStates, DWORD dwButtonModes, DWORD dwButtonStates)
305 FIXME("(%p, %08lx, %08lx, %08lx): stub.\n", hPhone, dwPhoneStates, dwButtonModes, dwButtonStates);
306 /* call TSPI function here ! */
307 return 0; /* FIXME ? */
310 /***********************************************************************
311 * phoneSetVolume (TAPI32.@)
313 DWORD WINAPI phoneSetVolume(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwVolume)
315 FIXME("(%p, %08lx, %08lx): stub.\n", hPhone, dwHookSwitchDev, dwVolume);
316 /* call TSPI function here ! */
320 /***********************************************************************
321 * phoneShutdown (TAPI32.@)
323 DWORD WINAPI phoneShutdown(HPHONEAPP hPhoneApp)
325 FIXME("(%p): stub.\n", hPhoneApp);