2 * TAPI32 phone services
4 * Copyright 1999 Andreas Mohr
12 static LPPHONE
PHONE_Alloc(void)
16 static LPPHONE
PHONE_Get(HPHONE hPhone
)
20 DWORD WINAPI
phoneClose(HPHONE hPhone
)
22 FIXME(tapi
, "(%04x), stub.\n", hPhone
);
26 DWORD WINAPI
phoneConfigDialog(DWORD dwDeviceID
, HWND hwndOwner
, LPCSTR lpszDeviceClass
)
28 FIXME(tapi
, "(%08lx, %04x, %s): stub.\n", dwDeviceID
, hwndOwner
, lpszDeviceClass
);
32 DWORD WINAPI
phoneDevSpecific(HPHONE hPhone
, LPVOID lpParams
, DWORD dwSize
)
34 FIXME(tapi
, "(%04x, %p, %08ld): stub.\n", hPhone
, lpParams
, dwSize
);
38 DWORD WINAPI
phoneGetButtonInfo(HPHONE hPhone
, DWORD dwButtonLampID
,
39 LPPHONEBUTTONINFO lpButtonInfo
)
41 FIXME(tapi
, "(%04x, %08lx, %p): stub.\n", hPhone
, dwButtonLampID
, lpButtonInfo
);
45 DWORD WINAPI
phoneGetData(HPHONE hPhone
, DWORD dwDataID
, LPVOID lpData
, DWORD dwSize
)
47 FIXME(tapi
, "(%04x, %08ld, %p, %08ld): stub.\n", hPhone
, dwDataID
, lpData
, dwSize
);
51 DWORD WINAPI
phoneGetDevCaps(HPHONEAPP hPhoneApp
, DWORD dwDeviceID
,
52 DWORD dwAPIVersion
, DWORD dwExtVersion
, LPPHONECAPS lpPhoneCaps
)
54 FIXME(tapi
, "(%04x, %08ld, %08lx, %08lx, %p): stub.\n", hPhoneApp
, dwDeviceID
, dwAPIVersion
, dwExtVersion
, lpPhoneCaps
);
58 DWORD WINAPI
phoneGetDisplay(HPHONE hPhone
, LPVARSTRING lpDisplay
)
60 FIXME(tapi
, "(%04x, %p): stub.\n", hPhone
, lpDisplay
);
64 DWORD WINAPI
phoneGetGain(HPHONE hPhone
, DWORD dwHookSwitchDev
, LPDWORD lpdwGain
)
66 FIXME(tapi
, "(%04x, %08lx, %p): stub.\n", hPhone
, dwHookSwitchDev
, lpdwGain
);
70 DWORD WINAPI
phoneGetHookSwitch(HPHONE hPhone
, LPDWORD lpdwHookSwitchDevs
)
72 FIXME(tapi
, "(%04x, %p): stub.\n", hPhone
, lpdwHookSwitchDevs
);
76 DWORD WINAPI
phoneGetID(HPHONE hPhone
, LPVARSTRING lpDeviceID
,
77 LPCSTR lpszDeviceClass
)
79 FIXME(tapi
, "(%04x, %p, %s): stub.\n", hPhone
, lpDeviceID
, lpszDeviceClass
); return 0;
82 DWORD WINAPI
phoneGetIcon(DWORD dwDeviceID
, LPCSTR lpszDeviceClass
,
85 FIXME(tapi
, "(%08lx, %s, %p): stub.\n", dwDeviceID
, lpszDeviceClass
, lphIcon
);
89 DWORD WINAPI
phoneGetLamp(HPHONE hPhone
, DWORD dwButtonLampID
,
92 FIXME(tapi
, "(%04x, %08lx, %p): stub.\n", hPhone
, dwButtonLampID
, lpdwLampMode
);
96 DWORD WINAPI
phoneGetRing(HPHONE hPhone
, LPDWORD lpdwRingMode
, LPDWORD lpdwVolume
)
98 FIXME(tapi
, "(%04x, %p, %p): stub.\n", hPhone
, lpdwRingMode
, lpdwVolume
);
102 DWORD WINAPI
phoneGetStatus(HPHONE hPhone
, LPPHONESTATUS lpPhoneStatus
)
104 FIXME(tapi
, "(%04x, %p): stub.\n", hPhone
, lpPhoneStatus
);
108 DWORD WINAPI
phoneGetStatusMessages(HPHONE hPhone
, LPDWORD lpdwPhoneStates
,
109 LPDWORD lpdwButtonModes
, LPDWORD lpdwButtonStates
)
111 FIXME(tapi
, "(%04x, %p, %p, %p): stub.\n", hPhone
, lpdwPhoneStates
, lpdwButtonModes
, lpdwButtonStates
);
115 DWORD WINAPI
phoneGetVolume(HPHONE hPhone
, DWORD dwHookSwitchDevs
,
118 FIXME(tapi
, "(%04x, %08lx, %p): stub.\n", hPhone
, dwHookSwitchDevs
, lpdwVolume
);
122 DWORD WINAPI
phoneInitialize(LPHPHONEAPP lphPhoneApp
, HINSTANCE hInstance
, PHONECALLBACK lpfnCallback
, LPCSTR lpszAppName
, LPDWORD lpdwNumDevs
)
124 FIXME(tapi
, "(%p, %04x, %p, %s, %p): stub.\n", lphPhoneApp
, hInstance
, lpfnCallback
, lpszAppName
, lpdwNumDevs
);
128 DWORD WINAPI
phoneNegotiateAPIVersion(HPHONEAPP hPhoneApp
, DWORD dwDeviceID
, DWORD dwAPILowVersion
, DWORD dwAPIHighVersion
, LPDWORD lpdwAPIVersion
, LPPHONEEXTENSIONID lpExtensionID
)
130 FIXME(tapi
, "(): stub.\n");
134 DWORD WINAPI
phoneNegotiateExtVersion(HPHONEAPP hPhoneApp
, DWORD dwDeviceID
,
135 DWORD dwAPIVersion
, DWORD dwExtLowVersion
,
136 DWORD dwExtHighVersion
, LPDWORD lpdwExtVersion
)
138 FIXME(tapi
, "(): stub.\n");
142 DWORD WINAPI
phoneOpen(HPHONEAPP hPhoneApp
, DWORD dwDeviceID
, LPHPHONE lphPhone
, DWORD dwAPIVersion
, DWORD dwExtVersion
, DWORD dwCallbackInstance
, DWORD dwPrivileges
)
144 FIXME(tapi
, "(): stub.\n");
148 DWORD WINAPI
phoneSetButtonInfo(HPHONE hPhone
, DWORD dwButtonLampID
, LPPHONEBUTTONINFO lpButtonInfo
)
150 FIXME(tapi
, "(%04x, %08lx, %p): stub.\n", hPhone
, dwButtonLampID
, lpButtonInfo
);
154 DWORD WINAPI
phoneSetData(HPHONE hPhone
, DWORD dwDataID
, LPVOID lpData
, DWORD dwSize
)
156 FIXME(tapi
, "(%04x, %08lx, %p, %ld): stub.\n", hPhone
, dwDataID
, lpData
, dwSize
);
160 DWORD WINAPI
phoneSetDisplay(HPHONE hPhone
, DWORD dwRow
, DWORD dwColumn
, LPCSTR lpszDisplay
, DWORD dwSize
)
162 FIXME(tapi
, "(%04x, '%s' at %ld/%ld, len %ld): stub.\n", hPhone
, lpszDisplay
, dwRow
, dwColumn
, dwSize
);
166 DWORD WINAPI
phoneSetGain(HPHONE hPhone
, DWORD dwHookSwitchDev
, DWORD dwGain
)
168 FIXME(tapi
, "(%04x, %08lx, %ld): stub.\n", hPhone
, dwHookSwitchDev
, dwGain
);
172 DWORD WINAPI
phoneSetHookSwitch(HPHONE hPhone
, DWORD dwHookSwitchDevs
, DWORD dwHookSwitchMode
)
174 FIXME(tapi
, "(%04x, %08lx, %08lx): stub.\n", hPhone
, dwHookSwitchDevs
, dwHookSwitchMode
);
178 DWORD WINAPI
phoneSetLamp(HPHONE hPhone
, DWORD dwButtonLampID
, DWORD lpdwLampMode
)
180 FIXME(tapi
, "(%04x, %08lx, %08lx): stub.\n", hPhone
, dwButtonLampID
, lpdwLampMode
);
184 DWORD WINAPI
phoneSetRing(HPHONE hPhone
, DWORD dwRingMode
, DWORD dwVolume
)
186 FIXME(tapi
, "(%04x, %08lx, %08ld): stub.\n", hPhone
, dwRingMode
, dwVolume
);
190 DWORD WINAPI
phoneSetStatusMessages(HPHONE hPhone
, DWORD dwPhoneStates
, DWORD dwButtonModes
, DWORD dwButtonStates
)
192 FIXME(tapi
, "(%04x, %08lx, %08lx, %08lx): stub.\n", hPhone
, dwPhoneStates
, dwButtonModes
, dwButtonStates
);
193 return 0; /* FIXME ? */
196 DWORD WINAPI
phoneSetVolume(HPHONE hPhone
, DWORD dwHookSwitchDev
, DWORD dwVolume
)
198 FIXME(tapi
, "(%04x, %08lx, %08ld): stub.\n", hPhone
, dwHookSwitchDev
, dwVolume
);
202 DWORD WINAPI
phoneShutdown(HPHONEAPP hPhoneApp
)
204 FIXME(tapi
, "(%04x): stub.\n", hPhoneApp
);