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"
26 WINE_DEFAULT_DEBUG_CHANNEL(tapi);
28 /***********************************************************************
29 * phoneClose (TAPI32.@)
31 DWORD WINAPI phoneClose(HPHONE hPhone)
33 FIXME("(%p), stub.\n", hPhone);
37 /***********************************************************************
38 * phoneConfigDialog (TAPI32.@)
40 DWORD WINAPI phoneConfigDialog(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass)
42 FIXME("(%08lx, %p, %s): stub.\n", dwDeviceID, hwndOwner, lpszDeviceClass);
46 /***********************************************************************
47 * phoneDevSpecific (TAPI32.@)
49 DWORD WINAPI phoneDevSpecific(HPHONE hPhone, LPVOID lpParams, DWORD dwSize)
51 FIXME("(%p, %p, %08ld): stub.\n", hPhone, lpParams, dwSize);
55 /***********************************************************************
56 * phoneGetButtonInfo (TAPI32.@)
58 DWORD WINAPI phoneGetButtonInfo(HPHONE hPhone, DWORD dwButtonLampID,
59 LPPHONEBUTTONINFO lpButtonInfo)
61 FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwButtonLampID, lpButtonInfo);
65 /***********************************************************************
66 * phoneGetData (TAPI32.@)
68 DWORD WINAPI phoneGetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
70 FIXME("(%p, %08ld, %p, %08ld): stub.\n", hPhone, dwDataID, lpData, dwSize);
74 /***********************************************************************
75 * phoneGetDevCaps (TAPI32.@)
77 DWORD WINAPI phoneGetDevCaps(HPHONEAPP hPhoneApp, DWORD dwDeviceID,
78 DWORD dwAPIVersion, DWORD dwExtVersion, LPPHONECAPS lpPhoneCaps)
80 FIXME("(%p, %08ld, %08lx, %08lx, %p): stub.\n", hPhoneApp, dwDeviceID, dwAPIVersion, dwExtVersion, lpPhoneCaps);
84 /***********************************************************************
85 * phoneGetDisplay (TAPI32.@)
87 DWORD WINAPI phoneGetDisplay(HPHONE hPhone, LPVARSTRING lpDisplay)
89 FIXME("(%p, %p): stub.\n", hPhone, lpDisplay);
93 /***********************************************************************
94 * phoneGetGain (TAPI32.@)
96 DWORD WINAPI phoneGetGain(HPHONE hPhone, DWORD dwHookSwitchDev, LPDWORD lpdwGain)
98 FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwHookSwitchDev, lpdwGain);
102 /***********************************************************************
103 * phoneGetHookSwitch (TAPI32.@)
105 DWORD WINAPI phoneGetHookSwitch(HPHONE hPhone, LPDWORD lpdwHookSwitchDevs)
107 FIXME("(%p, %p): stub.\n", hPhone, lpdwHookSwitchDevs);
111 /***********************************************************************
112 * phoneGetID (TAPI32.@)
114 DWORD WINAPI phoneGetID(HPHONE hPhone, LPVARSTRING lpDeviceID,
115 LPCSTR lpszDeviceClass)
117 FIXME("(%p, %p, %s): stub.\n", hPhone, lpDeviceID, lpszDeviceClass); return 0;
120 /***********************************************************************
121 * phoneGetIcon (TAPI32.@)
123 DWORD WINAPI phoneGetIcon(DWORD dwDeviceID, LPCSTR lpszDeviceClass,
126 FIXME("(%08lx, %s, %p): stub.\n", dwDeviceID, lpszDeviceClass, lphIcon);
130 /***********************************************************************
131 * phoneGetLamp (TAPI32.@)
133 DWORD WINAPI phoneGetLamp(HPHONE hPhone, DWORD dwButtonLampID,
134 LPDWORD lpdwLampMode)
136 FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwButtonLampID, lpdwLampMode);
140 /***********************************************************************
141 * phoneGetRing (TAPI32.@)
143 DWORD WINAPI phoneGetRing(HPHONE hPhone, LPDWORD lpdwRingMode, LPDWORD lpdwVolume)
145 FIXME("(%p, %p, %p): stub.\n", hPhone, lpdwRingMode, lpdwVolume);
149 /***********************************************************************
150 * phoneGetStatus (TAPI32.@)
152 DWORD WINAPI phoneGetStatus(HPHONE hPhone, LPPHONESTATUS lpPhoneStatus)
154 FIXME("(%p, %p): stub.\n", hPhone, lpPhoneStatus);
158 /***********************************************************************
159 * phoneGetStatusMessages (TAPI32.@)
161 DWORD WINAPI phoneGetStatusMessages(HPHONE hPhone, LPDWORD lpdwPhoneStates,
162 LPDWORD lpdwButtonModes, LPDWORD lpdwButtonStates)
164 FIXME("(%p, %p, %p, %p): stub.\n", hPhone, lpdwPhoneStates, lpdwButtonModes, lpdwButtonStates);
168 /***********************************************************************
169 * phoneGetVolume (TAPI32.@)
171 DWORD WINAPI phoneGetVolume(HPHONE hPhone, DWORD dwHookSwitchDevs,
174 FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwHookSwitchDevs, lpdwVolume);
178 /***********************************************************************
179 * phoneInitialize (TAPI32.@)
181 DWORD WINAPI phoneInitialize(LPHPHONEAPP lphPhoneApp, HINSTANCE hInstance, PHONECALLBACK lpfnCallback, LPCSTR lpszAppName, LPDWORD lpdwNumDevs)
183 FIXME("(%p, %p, %p, %s, %p): stub.\n", lphPhoneApp, hInstance, lpfnCallback, lpszAppName, lpdwNumDevs);
187 /***********************************************************************
188 * phoneNegotiateAPIVersion (TAPI32.@)
190 DWORD WINAPI phoneNegotiateAPIVersion(HPHONEAPP hPhoneApp, DWORD dwDeviceID, DWORD dwAPILowVersion, DWORD dwAPIHighVersion, LPDWORD lpdwAPIVersion, LPPHONEEXTENSIONID lpExtensionID)
192 FIXME("(): stub.\n");
196 /***********************************************************************
197 * phoneNegotiateExtVersion (TAPI32.@)
199 DWORD WINAPI phoneNegotiateExtVersion(HPHONEAPP hPhoneApp, DWORD dwDeviceID,
200 DWORD dwAPIVersion, DWORD dwExtLowVersion,
201 DWORD dwExtHighVersion, LPDWORD lpdwExtVersion)
203 FIXME("(): stub.\n");
207 /***********************************************************************
208 * phoneOpen (TAPI32.@)
210 DWORD WINAPI phoneOpen(HPHONEAPP hPhoneApp, DWORD dwDeviceID, LPHPHONE lphPhone, DWORD dwAPIVersion, DWORD dwExtVersion, DWORD dwCallbackInstance, DWORD dwPrivileges)
212 FIXME("(): stub.\n");
216 /***********************************************************************
217 * phoneSetButtonInfo (TAPI32.@)
219 DWORD WINAPI phoneSetButtonInfo(HPHONE hPhone, DWORD dwButtonLampID, LPPHONEBUTTONINFO lpButtonInfo)
221 FIXME("(%p, %08lx, %p): stub.\n", hPhone, dwButtonLampID, lpButtonInfo);
225 /***********************************************************************
226 * phoneSetData (TAPI32.@)
228 DWORD WINAPI phoneSetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
230 FIXME("(%p, %08lx, %p, %ld): stub.\n", hPhone, dwDataID, lpData, dwSize);
234 /***********************************************************************
235 * phoneSetDisplay (TAPI32.@)
237 DWORD WINAPI phoneSetDisplay(HPHONE hPhone, DWORD dwRow, DWORD dwColumn, LPCSTR lpszDisplay, DWORD dwSize)
239 FIXME("(%p, '%s' at %ld/%ld, len %ld): stub.\n", hPhone, lpszDisplay, dwRow, dwColumn, dwSize);
243 /***********************************************************************
244 * phoneSetGain (TAPI32.@)
246 DWORD WINAPI phoneSetGain(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwGain)
248 FIXME("(%p, %08lx, %ld): stub.\n", hPhone, dwHookSwitchDev, dwGain);
252 /***********************************************************************
253 * phoneSetHookSwitch (TAPI32.@)
255 DWORD WINAPI phoneSetHookSwitch(HPHONE hPhone, DWORD dwHookSwitchDevs, DWORD dwHookSwitchMode)
257 FIXME("(%p, %08lx, %08lx): stub.\n", hPhone, dwHookSwitchDevs, dwHookSwitchMode);
261 /***********************************************************************
262 * phoneSetLamp (TAPI32.@)
264 DWORD WINAPI phoneSetLamp(HPHONE hPhone, DWORD dwButtonLampID, DWORD lpdwLampMode)
266 FIXME("(%p, %08lx, %08lx): stub.\n", hPhone, dwButtonLampID, lpdwLampMode);
270 /***********************************************************************
271 * phoneSetRing (TAPI32.@)
273 DWORD WINAPI phoneSetRing(HPHONE hPhone, DWORD dwRingMode, DWORD dwVolume)
275 FIXME("(%p, %08lx, %08lx): stub.\n", hPhone, dwRingMode, dwVolume);
279 /***********************************************************************
280 * phoneSetStatusMessages (TAPI32.@)
282 DWORD WINAPI phoneSetStatusMessages(HPHONE hPhone, DWORD dwPhoneStates, DWORD dwButtonModes, DWORD dwButtonStates)
284 FIXME("(%p, %08lx, %08lx, %08lx): stub.\n", hPhone, dwPhoneStates, dwButtonModes, dwButtonStates);
285 return 0; /* FIXME ? */
288 /***********************************************************************
289 * phoneSetVolume (TAPI32.@)
291 DWORD WINAPI phoneSetVolume(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwVolume)
293 FIXME("(%p, %08lx, %08lx): stub.\n", hPhone, dwHookSwitchDev, dwVolume);
297 /***********************************************************************
298 * phoneShutdown (TAPI32.@)
300 DWORD WINAPI phoneShutdown(HPHONEAPP hPhoneApp)
302 FIXME("(%p): stub.\n", hPhoneApp);