TAPI basic functions

zhaozj2021-02-08  310

Only Use In TAPI Version 1.4Basic Telephony Services Reference1.TAPI initialization and close LineInitializeEx initialize a TAPI application, synchronization return .LineShutdown close a TAPI application, synchronization return. 2. line version negotiation LineNegotiateAPIVersion applications and negotiate a TAPI TAPI versions that can be used, Synchronization returns. 3. Line device status and capability LinegetDevCaps get the actual parameter capability of the specified line device, simultaneously returns. LinegetDevconfig gets the configuration of the media stream device, returning synchronize. LinegetLinedevStatus get the current state of the specified open line, returning. LinesetDevconfig settings Specifies the configuration of the media stream device, simultaneously returns. LinesetStatusMessages Set those status change messages to notify the application, returning synchronously. LinegetStatusMessages get the currently used status change message setting, synchronize returns. LinegetId Returns the device associated with the specified line, address, or call ID number, synchronized back. Linegeticon gets the displayed icon, synchronize returns. LineConfigDialogedit Displays a dialog box, the user can change the setup of the line device, returned synchronize. 4. Added LineGetAddressCaps Get the phone parameters of an address, simultaneously returned. LinegetAddressStatus get the specified address The current state, synchronize returns. LinegetAddressID?, Synchronize returns. 5. Open / close the line device LINEOpen Open a specified line device in the specified open mode, simultaneously returns. Lineclose Close a line device that has been opened, returns. 6 LineTranslateAddress transforms the address between the specification format and the dial-based format. LinesetCurrentLocation Sets the local telephone area code ??, synchronize returns. LinesetTollList operation ring list, simultaneous return. LinegetTranslateCaps Return to the address of the address, simultaneously return. 7. Call. The state is returned to the determined call information and returns synchronized back. LinegetCallStatus returns The full status information of the call is simultaneously returned. LinesetAppSpecific Sets a specific domain of a call information structure, and returns synchronously. 8. Create a call linemakecall to create a dial-out call and return the handle, return. Linedial Dial (Dial) address, asynchronous Return. 9. Requirency answer Lineanswer Reconstriction, return. LinesetNumrings Set the number of bells before the default answer, synchronize returns. LinegetNumrings returns to the minimum number of bells before the default response, synchronize returns. 10. Call special control LINESETCALLPRIVILEGE Set the privilege of the application ??, simultaneously returned. 11. Turn up the call LINDROP hang up or cancel the call, return. LINEDEAllocateCall release the specified call handle, return. 12. Call handle processing linehandoff, synchronize Returns. LinegetNewCalls Returns the call handle list without a line device or address handle. LinegetConfrelatedCalls returns the call handle list of the same phone conference, and returns to the country. 13. The location is displayed with the country LINETRANSLATEDIALOG display a dialog box, the user can modify the location Country information, simultaneously returning. LinegetCountry Returns the specified country, dialing rules, and other information, simultaneously returns. LinegetRequest gets the next request of the DLL and returns synchronously.

转载请注明原文地址:https://www.9cbs.com/read-1054.html

New Post(0)