Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

461 lines
19 KiB

  1. /*
  2. * Lzexpand APIs thunks for Win32s
  3. */
  4. __foldwin32sstuff __foldwin32sstuff;
  5. foldstyleinitialization = true;
  6. enablemapdirect3216 = true;
  7. flatthunks = true;
  8. #include "types.thk"
  9. typedef DWORD HTAPI;
  10. typedef HTAPI *LPHTAPI;
  11. typedef HTAPI HAPP;
  12. typedef HAPP *LPHAPP;
  13. typedef HTAPI HLINEAPP;
  14. typedef HTAPI HPHONEAPP;
  15. typedef HTAPI HCALL;
  16. typedef HCALL *LPHCALL;
  17. typedef HTAPI HLINE;
  18. typedef HLINE *LPHLINE;
  19. typedef HTAPI HPHONE;
  20. typedef HPHONE *LPHPHONE;
  21. typedef HICON *LPHICON;
  22. typedef LPSTR LPCSTR;
  23. /* LPVOID in types.thk */
  24. typedef LPVOID LPLINETRANSLATEOUTPUT; /* LP to data structure */
  25. typedef LPVOID LPLINETRANSLATECAPS; /* LP to data structure */
  26. typedef LPVOID LPLINEFORWARDLIST;
  27. typedef LPVOID LPLINECALLPARAMS;
  28. typedef LPVOID LPLINEGENERATETONE;
  29. typedef LPVOID LPLINEADDRESSCAPS;
  30. typedef LPVOID LPLINEADDRESSSTATUS;
  31. typedef LPVOID LPLINECALLINFO;
  32. typedef LPVOID LPLINECALLSTATUS;
  33. typedef LPVOID LPLINECALLLIST;
  34. typedef LPVOID LPLINEDEVCAPS;
  35. typedef LPVOID LPLINEDEVSTATUS;
  36. typedef LPVOID LPLINEMONITORTONE;
  37. typedef LPVOID LPLINEEXTENSIONID;
  38. typedef LPVOID LPVARSTRING;
  39. typedef LPVOID LPLINEDIALPARAMS;
  40. typedef LPVOID LPLINEMEDIACONTROLDIGIT;
  41. typedef LPVOID LPLINEMEDIACONTROLMEDIA;
  42. typedef LPVOID LPLINEMEDIACONTROLTONE;
  43. typedef LPVOID LPLINEMEDIACONTROLCALLSTATE;
  44. typedef LPVOID LPPHONEBUTTONINFO;
  45. typedef LPVOID LPPHONECAPS;
  46. typedef LPVOID LPPHONESTATUS;
  47. typedef LPVOID LPPHONEEXTENSIONID;
  48. typedef LPVOID LPLINECOUNTRYLIST;
  49. typedef LPVOID LPLINEPROVIDERLIST;
  50. //UINT GetTapiHInst(void) =
  51. //UINT GetTapiHInst(void)
  52. //{}
  53. UINT NewData(void) =
  54. UINT NewData(void)
  55. {}
  56. UINT NewData2(void) =
  57. UINT NewData2(void)
  58. {}
  59. /* Tapi Address Translation procedures */
  60. LONG lineSetCurrentLocation (HLINEAPP hLineApp, DWORD dwLocation) =
  61. LONG lineSetCurrentLocation (HLINEAPP hLineApp, DWORD dwLocation)
  62. {}
  63. LONG lineSetTollList (HLINEAPP hLineApp, DWORD dwPermanentLineID, LPCSTR lpszAddressIn, DWORD dwTollListOption) =
  64. LONG lineSetTollList (HLINEAPP hLineApp, DWORD dwPermanentLineID, LPCSTR lpszAddressIn, DWORD dwTollListOption)
  65. {}
  66. LONG lineTranslateAddress (HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, LPCSTR lpszAddressIn,
  67. DWORD dwCard, DWORD dwTranslateOptions, LPLINETRANSLATEOUTPUT lpTranslateOutput) =
  68. LONG lineTranslateAddress (HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, LPCSTR lpszAddressIn,
  69. DWORD dwCard, DWORD dwTranslateOptions, LPLINETRANSLATEOUTPUT lpTranslateOutput)
  70. {}
  71. LONG lineGetTranslateCaps (HLINEAPP hLineApp, DWORD dwAPIVersion, LPLINETRANSLATECAPS lpTranslateCaps) =
  72. LONG lineGetTranslateCaps (HLINEAPP hLineApp, DWORD dwAPIVersion, LPLINETRANSLATECAPS lpTranslateCaps)
  73. {}
  74. /* Tapi function prototypes */
  75. LONG lineAccept (HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize) =
  76. LONG lineAccept (HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
  77. {}
  78. LONG lineAddToConference (HCALL hConfCall, HCALL hConsultCall) =
  79. LONG lineAddToConference (HCALL hConfCall, HCALL hConsultCall)
  80. {}
  81. LONG lineAnswer (HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize) =
  82. LONG lineAnswer (HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
  83. {}
  84. LONG lineBlindTransfer (HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode) =
  85. LONG lineBlindTransfer (HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
  86. {}
  87. LONG lineClose (HLINE hLine) =
  88. LONG lineClose (HLINE hLine)
  89. {}
  90. LONG lineConfigDialog (DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass) =
  91. LONG lineConfigDialog (DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass)
  92. {}
  93. LONG lineDeallocateCall (HCALL hCall) =
  94. LONG lineDeallocateCall (HCALL hCall)
  95. {}
  96. LONG lineDial (HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode) =
  97. LONG lineDial (HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
  98. {}
  99. LONG lineDrop (HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize) =
  100. LONG lineDrop (HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
  101. {}
  102. LONG lineGenerateDigits (HCALL hCall, DWORD dwDigitMode, LPCSTR lpszDigits, DWORD dwDuration) =
  103. LONG lineGenerateDigits (HCALL hCall, DWORD dwDigitMode, LPCSTR lpszDigits, DWORD dwDuration)
  104. {}
  105. LONG lineGenerateTone (HCALL hCall, DWORD dwToneMode, DWORD dwDuration, DWORD dwNumTones, LPLINEGENERATETONE lpTones) =
  106. LONG lineGenerateTone (HCALL hCall, DWORD dwToneMode, DWORD dwDuration, DWORD dwNumTones, LPLINEGENERATETONE lpTones)
  107. {}
  108. LONG lineGetAddressCaps (HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAddressID, DWORD dwAPIVersion,
  109. DWORD dwExtVersion, LPLINEADDRESSCAPS lpAddressCaps) =
  110. LONG lineGetAddressCaps (HAPP hLineApp, DWORD dwDeviceID, DWORD dwAddressID, DWORD dwAPIVersion,
  111. DWORD dwExtVersion, LPLINEADDRESSCAPS lpAddressCaps)
  112. {}
  113. LONG lineGetAddressID (HLINE hLine, LPDWORD lpdwAddressID, DWORD dwAddressMode, LPCSTR lpsAddress, DWORD dwSize) =
  114. LONG lineGetAddressID (HLINE hLine, LPDWORD lpdwAddressID, DWORD dwAddressMode, LPCSTR lpsAddress, DWORD dwSize)
  115. {}
  116. LONG lineGetAddressStatus (HLINE hLine, DWORD dwAddressID, LPLINEADDRESSSTATUS lpAddressStatus) =
  117. LONG lineGetAddressStatus (HLINE hLine, DWORD dwAddressID, LPLINEADDRESSSTATUS lpAddressStatus)
  118. {}
  119. LONG lineGetCallInfo (HCALL hCall, LPLINECALLINFO lpCallInfo) =
  120. LONG lineGetCallInfo (HCALL hCall, LPLINECALLINFO lpCallInfo)
  121. {}
  122. LONG lineGetCallStatus (HCALL hCall, LPLINECALLSTATUS lpCallStatus) =
  123. LONG lineGetCallStatus (HCALL hCall, LPLINECALLSTATUS lpCallStatus)
  124. {}
  125. LONG lineGetConfRelatedCalls (HCALL hCall, LPLINECALLLIST lpCallList) =
  126. LONG lineGetConfRelatedCalls (HCALL hCall, LPLINECALLLIST lpCallList)
  127. {}
  128. LONG lineGetDevCaps (HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEDEVCAPS lpLineDevCaps) =
  129. LONG lineGetDevCaps (HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEDEVCAPS lpLineDevCaps)
  130. {}
  131. LONG lineGetDevConfig (DWORD dwDeviceID, LPVARSTRING lpDeviceConfig, LPCSTR lpszDeviceClass) =
  132. LONG lineGetDevConfig (DWORD dwDeviceID, LPVARSTRING lpDeviceConfig, LPCSTR lpszDeviceClass)
  133. {}
  134. LONG lineGetNewCalls (HLINE hLine, DWORD dwAddressID, DWORD dwSelect, LPLINECALLLIST lpCallList) =
  135. LONG lineGetNewCalls (HLINE hLine, DWORD dwAddressID, DWORD dwSelect, LPLINECALLLIST lpCallList)
  136. {}
  137. LONG lineGetIcon (DWORD dwDeviceID, LPCSTR lpszDeviceClass, LPHICON lphIcon) =
  138. LONG lineGetIcon (DWORD dwDeviceID, LPCSTR lpszDeviceClass, LPHICON lphIcon)
  139. {}
  140. LONG lineGetID (HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, LPVARSTRING lpDeviceID, LPCSTR lpszDeviceClass) =
  141. LONG lineGetID (HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, LPVARSTRING lpDeviceID, LPCSTR lpszDeviceClass)
  142. {}
  143. LONG lineGetLineDevStatus (HLINE hLine, LPLINEDEVSTATUS lpLineDevStatus) =
  144. LONG lineGetLineDevStatus (HLINE hLine, LPLINEDEVSTATUS lpLineDevStatus)
  145. {}
  146. LONG lineGetNumRings (HLINE hLine, DWORD dwAddressID, LPDWORD lpdwNumRings) =
  147. LONG lineGetNumRings (HLINE hLine, DWORD dwAddressID, LPDWORD lpdwNumRings)
  148. {}
  149. LONG lineGetRequest (HLINEAPP hLineApp, DWORD dwRequestMode, LPVOID lpRequestBuffer) =
  150. LONG lineGetRequest (HLINEAPP hLineApp, DWORD dwRequestMode, LPVOID lpRequestBuffer)
  151. {}
  152. LONG lineGetStatusMessages (HLINE hLine, LPDWORD lpdwLineStates, LPDWORD lpdwAddressStates) =
  153. LONG lineGetStatusMessages (HLINE hLine, LPDWORD lpdwLineStates, LPDWORD lpdwAddressStates)
  154. {}
  155. LONG lineHandoff (HCALL hCall, LPCSTR lpszModuleName, DWORD dwMediaMode) =
  156. LONG lineHandoff (HCALL hCall, LPCSTR lpszModuleName, DWORD dwMediaMode)
  157. {}
  158. LONG lineHold (HCALL hCall) =
  159. LONG lineHold (HCALL hCall)
  160. {}
  161. LONG lineReleaseUserUserInfo (HCALL hCall) =
  162. LONG lineReleaseUserUserInfo (HCALL hCall)
  163. {}
  164. LONG lineMonitorDigits (HCALL hCall, DWORD dwDigitModes) =
  165. LONG lineMonitorDigits (HCALL hCall, DWORD dwDigitModes)
  166. {}
  167. LONG lineMonitorMedia (HCALL hCall, DWORD dwMediaModes) =
  168. LONG lineMonitorMedia (HCALL hCall, DWORD dwMediaModes)
  169. {}
  170. LONG lineMonitorTones (HCALL hCall, LPLINEMONITORTONE lpToneList, DWORD dwNumEntries) =
  171. LONG lineMonitorTones (HCALL hCall, LPLINEMONITORTONE lpToneList, DWORD dwNumEntries)
  172. {}
  173. LONG lineNegotiateAPIVersion (HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPILowVersion, DWORD dwAPIHighVersion,
  174. LPDWORD lpdwAPIVersion, LPLINEEXTENSIONID lpExtensionID) =
  175. LONG lineNegotiateAPIVersion (HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPILowVersion, DWORD dwAPIHighVersion,
  176. LPDWORD lpdwAPIVersion, LPLINEEXTENSIONID lpExtensionID)
  177. {}
  178. LONG lineNegotiateExtVersion (HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtLowVersion,
  179. DWORD dwExtHighVersion, LPDWORD lpdwExtVersion) =
  180. LONG lineNegotiateExtVersion (HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtLowVersion,
  181. DWORD dwExtHighVersion, LPDWORD lpdwExtVersion)
  182. {}
  183. LONG lineOpen (HLINEAPP hLineApp, DWORD dwDeviceID, LPHLINE lphLine, DWORD dwAPIVersion, DWORD dwExtVersion,
  184. DWORD dwCallbackInstance, DWORD dwPrivileges, DWORD dwMediaModes, LPLINECALLPARAMS lpCallParams) =
  185. LONG lineOpen (HLINEAPP hLineApp, DWORD dwDeviceID, LPHLINE lphLine, DWORD dwAPIVersion, DWORD dwExtVersion,
  186. DWORD dwCallbackInstance, DWORD dwPrivileges, DWORD dwMediaModes, LPLINECALLPARAMS lpCallParams)
  187. {}
  188. LONG lineRedirect (HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode) =
  189. LONG lineRedirect (HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
  190. {}
  191. LONG lineRemoveFromConference (HCALL hCall) =
  192. LONG lineRemoveFromConference (HCALL hCall)
  193. {}
  194. LONG lineSecureCall (HCALL hCall) =
  195. LONG lineSecureCall (HCALL hCall)
  196. {}
  197. LONG lineSendUserUserInfo (HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize) =
  198. LONG lineSendUserUserInfo (HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
  199. {}
  200. LONG lineSetAppSpecific (HCALL hCall, DWORD dwAppSpecific) =
  201. LONG lineSetAppSpecific (HCALL hCall, DWORD dwAppSpecific)
  202. {}
  203. LONG lineSetCallParams (HCALL hCall, DWORD dwBearerMode, DWORD dwMinRate, DWORD dwMaxRate, LPLINEDIALPARAMS lpDialParams) =
  204. LONG lineSetCallParams (HCALL hCall, DWORD dwBearerMode, DWORD dwMinRate, DWORD dwMaxRate, LPLINEDIALPARAMS lpDialParams)
  205. {}
  206. LONG lineSetCallPrivilege (HCALL hCall, DWORD dwCallPrivilege) =
  207. LONG lineSetCallPrivilege (HCALL hCall, DWORD dwCallPrivilege)
  208. {}
  209. LONG lineSetDevConfig (DWORD dwDeviceID, LPVOID lpDeviceConfig, DWORD dwSize, LPCSTR lpszDeviceClass) =
  210. LONG lineSetDevConfig (DWORD dwDeviceID, LPVOID lpDeviceConfig, DWORD dwSize, LPCSTR lpszDeviceClass)
  211. {}
  212. LONG lineSetMediaControl (HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, LPLINEMEDIACONTROLDIGIT lpDigitList, DWORD dwDigitNumEntries,
  213. LPLINEMEDIACONTROLMEDIA lpMediaList, DWORD dwMediaNumEntries, LPLINEMEDIACONTROLTONE lpToneList, DWORD dwToneNumEntries, LPLINEMEDIACONTROLCALLSTATE lpCallStateList, DWORD dwCallStateNumEntries) =
  214. LONG lineSetMediaControl (HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, LPLINEMEDIACONTROLDIGIT lpDigitList, DWORD dwDigitNumEntries,
  215. LPLINEMEDIACONTROLMEDIA lpMediaList, DWORD dwMediaNumEntries, LPLINEMEDIACONTROLTONE lpToneList, DWORD dwToneNumEntries, LPLINEMEDIACONTROLCALLSTATE lpCallStateList, DWORD dwCallStateNumEntries)
  216. {}
  217. LONG lineSetMediaMode (HCALL hCall, DWORD dwMediaModes) =
  218. LONG lineSetMediaMode (HCALL hCall, DWORD dwMediaModes)
  219. {}
  220. LONG lineSetNumRings (HLINE hLine, DWORD dwAddressID, DWORD dwNumRings) =
  221. LONG lineSetNumRings (HLINE hLine, DWORD dwAddressID, DWORD dwNumRings)
  222. {}
  223. LONG lineSetStatusMessages (HLINE hLine, DWORD dwLineStates, DWORD dwAddressStates) =
  224. LONG lineSetStatusMessages (HLINE hLine, DWORD dwLineStates, DWORD dwAddressStates)
  225. {}
  226. LONG lineSetTerminal (HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect,
  227. DWORD dwTerminalModes, DWORD dwTerminalID, DWORD bEnable) =
  228. LONG lineSetTerminal (HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect,
  229. DWORD dwTerminalModes, DWORD dwTerminalID, DWORD bEnable)
  230. {}
  231. LONG lineSwapHold (HCALL hActiveCall, HCALL hHeldCall) =
  232. LONG lineSwapHold (HCALL hActiveCall, HCALL hHeldCall)
  233. {}
  234. LONG lineUncompleteCall (HLINE hLine, DWORD dwCompletionID) =
  235. LONG lineUncompleteCall (HLINE hLine, DWORD dwCompletionID)
  236. {}
  237. LONG lineUnhold (HCALL hCall) =
  238. LONG lineUnhold (HCALL hCall)
  239. {}
  240. LONG phoneClose (HPHONE hPhone) =
  241. LONG phoneClose (HPHONE hPhone)
  242. {}
  243. LONG phoneConfigDialog (DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass) =
  244. LONG phoneConfigDialog (DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass)
  245. {}
  246. LONG phoneGetButtonInfo (HPHONE hPhone, DWORD dwButtonLampID, LPPHONEBUTTONINFO lpButtonInfo) =
  247. LONG phoneGetButtonInfo (HPHONE hPhone, DWORD dwButtonLampID, LPPHONEBUTTONINFO lpButtonInfo)
  248. {}
  249. LONG phoneGetData (HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize) =
  250. LONG phoneGetData (HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
  251. {}
  252. LONG phoneGetDevCaps (HPHONEAPP hPhoneApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtVersion, LPPHONECAPS lpPhoneCaps) =
  253. LONG phoneGetDevCaps (HPHONEAPP hPhoneApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtVersion, LPPHONECAPS lpPhoneCaps)
  254. {}
  255. LONG phoneGetDisplay (HPHONE hPhone, LPVARSTRING lpDisplay) =
  256. LONG phoneGetDisplay (HPHONE hPhone, LPVARSTRING lpDisplay)
  257. {}
  258. LONG phoneGetGain (HPHONE hPhone, DWORD dwHookSwitchDev, LPDWORD lpdwGain) =
  259. LONG phoneGetGain (HPHONE hPhone, DWORD dwHookSwitchDev, LPDWORD lpdwGain)
  260. {}
  261. LONG phoneGetHookSwitch (HPHONE hPhone, LPDWORD lpdwHookSwitchDevs) =
  262. LONG phoneGetHookSwitch (HPHONE hPhone, LPDWORD lpdwHookSwitchDevs)
  263. {}
  264. LONG phoneGetIcon (DWORD dwDeviceID, LPCSTR lpszDeviceClass, LPHICON lphIcon) =
  265. LONG phoneGetIcon (DWORD dwDeviceID, LPCSTR lpszDeviceClass, LPHICON lphIcon)
  266. {}
  267. LONG phoneGetID (HPHONE hPhone, LPVARSTRING lpDeviceID, LPCSTR lpszDeviceClass) =
  268. LONG phoneGetID (HPHONE hPhone, LPVARSTRING lpDeviceID, LPCSTR lpszDeviceClass)
  269. {}
  270. LONG phoneGetLamp (HPHONE hPhone, DWORD dwButtonLampID, LPDWORD lpdwLampMode) =
  271. LONG phoneGetLamp (HPHONE hPhone, DWORD dwButtonLampID, LPDWORD lpdwLampMode)
  272. {}
  273. LONG phoneGetRing (HPHONE hPhone, LPDWORD lpdwRingMode, LPDWORD lpdwVolume) =
  274. LONG phoneGetRing (HPHONE hPhone, LPDWORD lpdwRingMode, LPDWORD lpdwVolume)
  275. {}
  276. LONG phoneGetStatus (HPHONE hPhone, LPPHONESTATUS lpPhoneStatus) =
  277. LONG phoneGetStatus (HPHONE hPhone, LPPHONESTATUS lpPhoneStatus)
  278. {}
  279. LONG phoneGetStatusMessages (HPHONE hPhone, LPDWORD lpdwPhoneStates, LPDWORD lpdwButtonModes, LPDWORD lpdwButtonStates) =
  280. LONG phoneGetStatusMessages (HPHONE hPhone, LPDWORD lpdwPhoneStates, LPDWORD lpdwButtonModes, LPDWORD lpdwButtonStates)
  281. {}
  282. LONG phoneGetVolume (HPHONE hPhone, DWORD dwHookSwitchDev, LPDWORD lpdwVolume) =
  283. LONG phoneGetVolume (HPHONE hPhone, DWORD dwHookSwitchDev, LPDWORD lpdwVolume)
  284. {}
  285. LONG phoneNegotiateAPIVersion (HPHONEAPP hPhoneApp, DWORD dwDeviceID, DWORD dwAPILowVersion, DWORD dwAPIHighVersion,
  286. LPDWORD lpdwAPIVersion, LPPHONEEXTENSIONID lpExtensionID) =
  287. LONG phoneNegotiateAPIVersion (HPHONEAPP hPhoneApp, DWORD dwDeviceID, DWORD dwAPILowVersion, DWORD dwAPIHighVersion,
  288. LPDWORD lpdwAPIVersion, LPPHONEEXTENSIONID lpExtensionID)
  289. {}
  290. LONG phoneNegotiateExtVersion (HPHONEAPP hPhoneApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtLowVersion,
  291. DWORD dwExtHighVersion, LPDWORD lpdwExtVersion) =
  292. LONG phoneNegotiateExtVersion (HPHONEAPP hPhoneApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtLowVersion,
  293. DWORD dwExtHighVersion, LPDWORD lpdwExtVersion)
  294. {}
  295. LONG phoneOpen (HPHONEAPP hPhoneApp, DWORD dwDeviceID, LPHPHONE lphPhone,
  296. DWORD dwAPIVersion, DWORD dwExtVersion, DWORD dwCallbackInstance, DWORD dwPrivilege) =
  297. LONG phoneOpen (HPHONEAPP hPhoneApp, DWORD dwDeviceID, LPHPHONE lphPhone,
  298. DWORD dwAPIVersion, DWORD dwExtVersion, DWORD dwCallbackInstance, DWORD dwPrivilege)
  299. {}
  300. LONG phoneSetButtonInfo (HPHONE hPhone, DWORD dwButtonLampID, LPPHONEBUTTONINFO lpButtonInfo) =
  301. LONG phoneSetButtonInfo (HPHONE hPhone, DWORD dwButtonLampID, LPPHONEBUTTONINFO lpButtonInfo)
  302. {}
  303. LONG phoneSetData (HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize) =
  304. LONG phoneSetData (HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
  305. {}
  306. LONG phoneSetDisplay (HPHONE hPhone, DWORD dwRow, DWORD dwColumn, LPCSTR lpsDisplay, DWORD dwSize) =
  307. LONG phoneSetDisplay (HPHONE hPhone, DWORD dwRow, DWORD dwColumn, LPCSTR lpsDisplay, DWORD dwSize)
  308. {}
  309. LONG phoneSetGain (HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwGain) =
  310. LONG phoneSetGain (HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwGain)
  311. {}
  312. LONG phoneSetHookSwitch (HPHONE hPhone, DWORD dwHookSwitchDevs, DWORD dwHookSwitchMode) =
  313. LONG phoneSetHookSwitch (HPHONE hPhone, DWORD dwHookSwitchDevs, DWORD dwHookSwitchMode)
  314. {}
  315. LONG phoneSetLamp (HPHONE hPhone, DWORD dwButtonLampID, DWORD dwLampMode) =
  316. LONG phoneSetLamp (HPHONE hPhone, DWORD dwButtonLampID, DWORD dwLampMode)
  317. {}
  318. LONG phoneSetRing (HPHONE hPhone, DWORD dwRingMode, DWORD dwVolume) =
  319. LONG phoneSetRing (HPHONE hPhone, DWORD dwRingMode, DWORD dwVolume)
  320. {}
  321. LONG phoneSetStatusMessages (HPHONE hPhone, DWORD dwPhoneStates, DWORD dwButtonModes, DWORD dwButtonStates) =
  322. LONG phoneSetStatusMessages (HPHONE hPhone, DWORD dwPhoneStates, DWORD dwButtonModes, DWORD dwButtonStates)
  323. {}
  324. LONG phoneSetVolume (HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwVolume) =
  325. LONG phoneSetVolume (HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwVolume)
  326. {}
  327. /* TAPI 1.1 extensions */
  328. LONG lineTranslateDialog (HLINEAPP hLineApp, DWORD dwDeviceId, DWORD dwAPIVersion, HWND hWnd, LPSTR lpszAddressIn) =
  329. LONG lineTranslateDialog (HLINEAPP hLineApp, DWORD dwDeviceId, DWORD dwAPIVersion, HWND hWnd, LPSTR lpszAddressIn)
  330. {}
  331. LONG lineGetCountry (DWORD dwCountryID, DWORD dwAPIVersion, LPLINECOUNTRYLIST lpLineCountryList) =
  332. LONG lineGetCountry (DWORD dwCountryID, DWORD dwAPIVersion, LPLINECOUNTRYLIST lpLineCountryList)
  333. {}
  334. LONG lineGetAppPriority (LPCSTR lpszAppName, DWORD dwMediaMode, LPLINEEXTENSIONID lpExtensionID, DWORD dwRequestMode, LPVARSTRING lpExtensionName, LPDWORD lpdwPriority) =
  335. LONG lineGetAppPriority (LPCSTR lpszAppName, DWORD dwMediaMode, LPLINEEXTENSIONID lpExtensionID, DWORD dwRequestMode, LPVARSTRING lpExtensionName, LPDWORD lpdwPriority)
  336. {}
  337. LONG lineSetAppPriority (LPCSTR lpszAppName, DWORD dwMediaMode, LPLINEEXTENSIONID lpExtensionID, DWORD dwRequestMode, LPCSTR lpszExtensionName, DWORD dwPriority) =
  338. LONG lineSetAppPriority (LPCSTR lpszAppName, DWORD dwMediaMode, LPLINEEXTENSIONID lpExtensionID, DWORD dwRequestMode, LPCSTR lpszExtensionName, DWORD dwPriority)
  339. {}
  340. LONG lineAddProvider (LPCSTR lpszProviderFilename, HWND hwndOwner, LPDWORD lpdwPermanentProviderID) =
  341. LONG lineAddProvider (LPCSTR lpszProviderFilename, HWND hwndOwner, LPDWORD lpdwPermanentProviderID)
  342. {}
  343. LONG lineConfigProvider (HWND hwndOwner, DWORD dwPermanentProviderID) =
  344. LONG lineConfigProvider (HWND hwndOwner, DWORD dwPermanentProviderID)
  345. {}
  346. LONG lineRemoveProvider (DWORD dwPermanentProviderID, HWND hwndOwner) =
  347. LONG lineRemoveProvider (DWORD dwPermanentProviderID, HWND hwndOwner)
  348. {}
  349. LONG lineGetProviderList (DWORD dwAPIVersion, LPLINEPROVIDERLIST lpProviderList) =
  350. LONG lineGetProviderList (DWORD dwAPIVersion, LPLINEPROVIDERLIST lpProviderList)
  351. {}
  352. LONG lineConfigDialogEdit(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass, LPVOID lpDeviceConfigIn, DWORD dwSize, LPVARSTRING lpDeviceConfigOut) =
  353. LONG lineConfigDialogEdit(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass, LPVOID lpDeviceConfigIn, DWORD dwSize, LPVARSTRING lpDeviceConfigOut)
  354. {}