2 * TAPI32 phone services
4 * Copyright 1999 Andreas Mohr
10 #include "debugtools.h"
12 DEFAULT_DEBUG_CHANNEL(tapi
);
14 /***********************************************************************
15 * phoneClose (TAPI32.@)
17 DWORD WINAPI
phoneClose(HPHONE hPhone
)
19 FIXME("(%04x), stub.\n", hPhone
);
23 /***********************************************************************
24 * phoneConfigDialog (TAPI32.@)
26 DWORD WINAPI
phoneConfigDialog(DWORD dwDeviceID
, HWND hwndOwner
, LPCSTR lpszDeviceClass
)
28 FIXME("(%08lx, %04x, %s): stub.\n", dwDeviceID
, hwndOwner
, lpszDeviceClass
);
32 /***********************************************************************
33 * phoneDevSpecific (TAPI32.@)
35 DWORD WINAPI
phoneDevSpecific(HPHONE hPhone
, LPVOID lpParams
, DWORD dwSize
)
37 FIXME("(%04x, %p, %08ld): stub.\n", hPhone
, lpParams
, dwSize
);
41 /***********************************************************************
42 * phoneGetButtonInfo (TAPI32.@)
44 DWORD WINAPI
phoneGetButtonInfo(HPHONE hPhone
, DWORD dwButtonLampID
,
45 LPPHONEBUTTONINFO lpButtonInfo
)
47 FIXME("(%04x, %08lx, %p): stub.\n", hPhone
, dwButtonLampID
, lpButtonInfo
);
51 /***********************************************************************
52 * phoneGetData (TAPI32.@)
54 DWORD WINAPI
phoneGetData(HPHONE hPhone
, DWORD dwDataID
, LPVOID lpData
, DWORD dwSize
)
56 FIXME("(%04x, %08ld, %p, %08ld): stub.\n", hPhone
, dwDataID
, lpData
, dwSize
);
60 /***********************************************************************
61 * phoneGetDevCaps (TAPI32.@)
63 DWORD WINAPI
phoneGetDevCaps(HPHONEAPP hPhoneApp
, DWORD dwDeviceID
,
64 DWORD dwAPIVersion
, DWORD dwExtVersion
, LPPHONECAPS lpPhoneCaps
)
66 FIXME("(%04x, %08ld, %08lx, %08lx, %p): stub.\n", hPhoneApp
, dwDeviceID
, dwAPIVersion
, dwExtVersion
, lpPhoneCaps
);
70 /***********************************************************************
71 * phoneGetDisplay (TAPI32.@)
73 DWORD WINAPI
phoneGetDisplay(HPHONE hPhone
, LPVARSTRING lpDisplay
)
75 FIXME("(%04x, %p): stub.\n", hPhone
, lpDisplay
);
79 /***********************************************************************
80 * phoneGetGain (TAPI32.@)
82 DWORD WINAPI
phoneGetGain(HPHONE hPhone
, DWORD dwHookSwitchDev
, LPDWORD lpdwGain
)
84 FIXME("(%04x, %08lx, %p): stub.\n", hPhone
, dwHookSwitchDev
, lpdwGain
);
88 /***********************************************************************
89 * phoneGetHookSwitch (TAPI32.@)
91 DWORD WINAPI
phoneGetHookSwitch(HPHONE hPhone
, LPDWORD lpdwHookSwitchDevs
)
93 FIXME("(%04x, %p): stub.\n", hPhone
, lpdwHookSwitchDevs
);
97 /***********************************************************************
98 * phoneGetID (TAPI32.@)
100 DWORD WINAPI
phoneGetID(HPHONE hPhone
, LPVARSTRING lpDeviceID
,
101 LPCSTR lpszDeviceClass
)
103 FIXME("(%04x, %p, %s): stub.\n", hPhone
, lpDeviceID
, lpszDeviceClass
); return 0;
106 /***********************************************************************
107 * phoneGetIcon (TAPI32.@)
109 DWORD WINAPI
phoneGetIcon(DWORD dwDeviceID
, LPCSTR lpszDeviceClass
,
112 FIXME("(%08lx, %s, %p): stub.\n", dwDeviceID
, lpszDeviceClass
, lphIcon
);
116 /***********************************************************************
117 * phoneGetLamp (TAPI32.@)
119 DWORD WINAPI
phoneGetLamp(HPHONE hPhone
, DWORD dwButtonLampID
,
120 LPDWORD lpdwLampMode
)
122 FIXME("(%04x, %08lx, %p): stub.\n", hPhone
, dwButtonLampID
, lpdwLampMode
);
126 /***********************************************************************
127 * phoneGetRing (TAPI32.@)
129 DWORD WINAPI
phoneGetRing(HPHONE hPhone
, LPDWORD lpdwRingMode
, LPDWORD lpdwVolume
)
131 FIXME("(%04x, %p, %p): stub.\n", hPhone
, lpdwRingMode
, lpdwVolume
);
135 /***********************************************************************
136 * phoneGetStatus (TAPI32.@)
138 DWORD WINAPI
phoneGetStatus(HPHONE hPhone
, LPPHONESTATUS lpPhoneStatus
)
140 FIXME("(%04x, %p): stub.\n", hPhone
, lpPhoneStatus
);
144 /***********************************************************************
145 * phoneGetStatusMessages (TAPI32.@)
147 DWORD WINAPI
phoneGetStatusMessages(HPHONE hPhone
, LPDWORD lpdwPhoneStates
,
148 LPDWORD lpdwButtonModes
, LPDWORD lpdwButtonStates
)
150 FIXME("(%04x, %p, %p, %p): stub.\n", hPhone
, lpdwPhoneStates
, lpdwButtonModes
, lpdwButtonStates
);
154 /***********************************************************************
155 * phoneGetVolume (TAPI32.@)
157 DWORD WINAPI
phoneGetVolume(HPHONE hPhone
, DWORD dwHookSwitchDevs
,
160 FIXME("(%04x, %08lx, %p): stub.\n", hPhone
, dwHookSwitchDevs
, lpdwVolume
);
164 /***********************************************************************
165 * phoneInitialize (TAPI32.@)
167 DWORD WINAPI
phoneInitialize(LPHPHONEAPP lphPhoneApp
, HINSTANCE hInstance
, PHONECALLBACK lpfnCallback
, LPCSTR lpszAppName
, LPDWORD lpdwNumDevs
)
169 FIXME("(%p, %04x, %p, %s, %p): stub.\n", lphPhoneApp
, hInstance
, lpfnCallback
, lpszAppName
, lpdwNumDevs
);
173 /***********************************************************************
174 * phoneNegotiateAPIVersion (TAPI32.@)
176 DWORD WINAPI
phoneNegotiateAPIVersion(HPHONEAPP hPhoneApp
, DWORD dwDeviceID
, DWORD dwAPILowVersion
, DWORD dwAPIHighVersion
, LPDWORD lpdwAPIVersion
, LPPHONEEXTENSIONID lpExtensionID
)
178 FIXME("(): stub.\n");
182 /***********************************************************************
183 * phoneNegotiateExtVersion (TAPI32.@)
185 DWORD WINAPI
phoneNegotiateExtVersion(HPHONEAPP hPhoneApp
, DWORD dwDeviceID
,
186 DWORD dwAPIVersion
, DWORD dwExtLowVersion
,
187 DWORD dwExtHighVersion
, LPDWORD lpdwExtVersion
)
189 FIXME("(): stub.\n");
193 /***********************************************************************
194 * phoneOpen (TAPI32.@)
196 DWORD WINAPI
phoneOpen(HPHONEAPP hPhoneApp
, DWORD dwDeviceID
, LPHPHONE lphPhone
, DWORD dwAPIVersion
, DWORD dwExtVersion
, DWORD dwCallbackInstance
, DWORD dwPrivileges
)
198 FIXME("(): stub.\n");
202 /***********************************************************************
203 * phoneSetButtonInfo (TAPI32.@)
205 DWORD WINAPI
phoneSetButtonInfo(HPHONE hPhone
, DWORD dwButtonLampID
, LPPHONEBUTTONINFO lpButtonInfo
)
207 FIXME("(%04x, %08lx, %p): stub.\n", hPhone
, dwButtonLampID
, lpButtonInfo
);
211 /***********************************************************************
212 * phoneSetData (TAPI32.@)
214 DWORD WINAPI
phoneSetData(HPHONE hPhone
, DWORD dwDataID
, LPVOID lpData
, DWORD dwSize
)
216 FIXME("(%04x, %08lx, %p, %ld): stub.\n", hPhone
, dwDataID
, lpData
, dwSize
);
220 /***********************************************************************
221 * phoneSetDisplay (TAPI32.@)
223 DWORD WINAPI
phoneSetDisplay(HPHONE hPhone
, DWORD dwRow
, DWORD dwColumn
, LPCSTR lpszDisplay
, DWORD dwSize
)
225 FIXME("(%04x, '%s' at %ld/%ld, len %ld): stub.\n", hPhone
, lpszDisplay
, dwRow
, dwColumn
, dwSize
);
229 /***********************************************************************
230 * phoneSetGain (TAPI32.@)
232 DWORD WINAPI
phoneSetGain(HPHONE hPhone
, DWORD dwHookSwitchDev
, DWORD dwGain
)
234 FIXME("(%04x, %08lx, %ld): stub.\n", hPhone
, dwHookSwitchDev
, dwGain
);
238 /***********************************************************************
239 * phoneSetHookSwitch (TAPI32.@)
241 DWORD WINAPI
phoneSetHookSwitch(HPHONE hPhone
, DWORD dwHookSwitchDevs
, DWORD dwHookSwitchMode
)
243 FIXME("(%04x, %08lx, %08lx): stub.\n", hPhone
, dwHookSwitchDevs
, dwHookSwitchMode
);
247 /***********************************************************************
248 * phoneSetLamp (TAPI32.@)
250 DWORD WINAPI
phoneSetLamp(HPHONE hPhone
, DWORD dwButtonLampID
, DWORD lpdwLampMode
)
252 FIXME("(%04x, %08lx, %08lx): stub.\n", hPhone
, dwButtonLampID
, lpdwLampMode
);
256 /***********************************************************************
257 * phoneSetRing (TAPI32.@)
259 DWORD WINAPI
phoneSetRing(HPHONE hPhone
, DWORD dwRingMode
, DWORD dwVolume
)
261 FIXME("(%04x, %08lx, %08ld): stub.\n", hPhone
, dwRingMode
, dwVolume
);
265 /***********************************************************************
266 * phoneSetStatusMessages (TAPI32.@)
268 DWORD WINAPI
phoneSetStatusMessages(HPHONE hPhone
, DWORD dwPhoneStates
, DWORD dwButtonModes
, DWORD dwButtonStates
)
270 FIXME("(%04x, %08lx, %08lx, %08lx): stub.\n", hPhone
, dwPhoneStates
, dwButtonModes
, dwButtonStates
);
271 return 0; /* FIXME ? */
274 /***********************************************************************
275 * phoneSetVolume (TAPI32.@)
277 DWORD WINAPI
phoneSetVolume(HPHONE hPhone
, DWORD dwHookSwitchDev
, DWORD dwVolume
)
279 FIXME("(%04x, %08lx, %08ld): stub.\n", hPhone
, dwHookSwitchDev
, dwVolume
);
283 /***********************************************************************
284 * phoneShutdown (TAPI32.@)
286 DWORD WINAPI
phoneShutdown(HPHONEAPP hPhoneApp
)
288 FIXME("(%04x): stub.\n", hPhoneApp
);