?? quickref_1pnp.htm
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML DIR="LTR"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso8859-1">
</HEAD>
<TITLE>Basic Telephony Services Reference</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HAID" CONTENT="_tapi2_basic_telephony_services_reference">
<META NAME="MS-HAID" CONTENT="_tapi2_tapi_initialization_and_shutdown_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_line_version_negotiation_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_line_status_and_capabilities_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_addresses_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_opening_and_closing_line_devices_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_address_formats_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_call_states_and_events_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_making_calls_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_answering_incoming_calls_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_toll_saver_support_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_call_privilege_control_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_call_drop_functions_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_call_handle_manipulation_qref">
</HEAD>
<BODY TOPMARGIN="0">
<!--TOOLBAR_START-->
<!--TOOLBAR_EXEMPT-->
<!--TOOLBAR_END-->
<!--SYNC_START-->
<script language="JavaScript" src='/library/synch.js'></script>
<!--SYNC_END-->
<H3><A NAME="_tapi2_basic_telephony_services_reference"></A>Basic Telephony Services Reference</H3>
<P>The Basic Telephony functions are listed by category in the following tables. A function is identified as <I>asynchronous</I> if it indicates completion in a REPLY message to the application. If the function always returns its result to the application immediately, the function is considered <I>synchronous</I>. </P>
<P>Following is a functional grouping of the basic telephony service functions:</P>
<P><A HREF="#_tapi2_address_formats_qref">Address Formats</A></P>
<P><A HREF="#_tapi2_addresses_qref">Addresses</A> </P>
<P><A HREF="#_tapi2_answering_incoming_calls_qref">Answering Incoming Calls</A></P>
<P><A HREF="#_tapi2_call_drop_functions_qref">Call Drop Functions</A></P>
<P><A HREF="#_tapi2_call_handle_manipulation_qref">Call Handle Manipulation</A></P>
<P><A HREF="#_tapi2_call_privilege_control_qref">Call Privilege Control</A></P>
<P><A HREF="#_tapi2_call_states_and_events_qref">Call States and Events</A></P>
<P><A HREF="#_tapi2_line_status_and_capabilities_qref">Line Status and Capabilities</A></P>
<P><A HREF="#_tapi2_line_version_negotiation_qref">Line Version Negotiation</A></P>
<P><A HREF="quickref_3486.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/quickref_3486.htm">Location and Country/Region Information</A></P>
<P><A HREF="#_tapi2_making_calls_qref">Making Calls</A></P>
<P><A HREF="#_tapi2_opening_and_closing_line_devices_qref">Opening and Closing Line Devices</A></P>
<P><A HREF="quickref_3486.htm#_tapi2_request_recipient_services_qref" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/quickref_3486.htm#_tapi2_request_recipient_services_qref">Request Recipient Services</A></P>
<P><A HREF="#_tapi2_tapi_initialization_and_shutdown_qref">TAPI Initialization and Shutdown</A></P>
<P><A HREF="#_tapi2_toll_saver_support_qref">Toll Saver Support</A></P>
<H4><A NAME="_tapi2_tapi_initialization_and_shutdown_qref"></A>TAPI Initialization and Shutdown </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func1_2o54.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_2o54.htm"><B>lineInitializeEx</B></A> </TD>
<TD width=56%>Initializes the TAPI line abstraction for use by the invoking application. Synchronous.</TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_7sq6.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_7sq6.htm"><B>lineShutdown</B></A></TD>
<TD width=56%>Shuts down the application's use of TAPI's line abstraction. Synchronous. </TD>
</TR>
</TABLE><BR>
<H4><A NAME="_tapi2_line_version_negotiation_qref"></A>Line Version Negotiation </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_9kxa.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_9kxa.htm"><B>lineNegotiateAPIVersion</B></A> </TD>
<TD width=56%>Allows an application to negotiate a TAPI version to use. Synchronous. </TD>
</TR>
</TABLE><BR>
<H4><A NAME="_tapi2_line_status_and_capabilities_qref"></A>Line Status and Capabilities </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func1_2lbn.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_2lbn.htm"><B>lineGetDevCaps</B></A> </TD>
<TD width=56%>Returns the capabilities of a given line device. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func1_078n.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_078n.htm"><B>lineGetDevConfig</B></A></TD>
<TD width=56%>Returns configuration of a media stream device. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func1_4377.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_4377.htm"><B>lineGetLineDevStatus</B></A></TD>
<TD width=56%>Returns current status of the specified open line device. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_0l5z.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_0l5z.htm"><B>lineSetDevConfig</B></A> </TD>
<TD width=56%>Sets the configuration of the specified media stream device. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_3upf.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_3upf.htm"><B>lineSetStatusMessages</B></A></TD>
<TD width=56%>Specifies the status changes for which the application needs to be notified. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func1_4a43.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_4a43.htm"><B>lineGetStatusMessages</B></A> </TD>
<TD width=56%>Returns the application's current line and address status message settings. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func1_2gf8.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_2gf8.htm"><B>lineGetID</B></A> </TD>
<TD width=56%>Retrieves a device ID associated with the specified open line, address, or call. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func1_0mcu.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_0mcu.htm"><B>lineGetIcon</B></A> </TD>
<TD width=56%>Allows an application to retrieve an icon for display to the user. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func1_53tz.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_53tz.htm"><B>lineConfigDialog</B></A> </TD>
<TD width=56%>Causes the provider of the specified line device to display a dialog box that allows the user to configure parameters related to the line device. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func1_9mpg.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_9mpg.htm"><B>lineConfigDialogEdit</B></A> </TD>
<TD width=56%>Displays a dialog box allowing the user to change configuration information for a line device. Synchronous.</TD>
</TR>
</TABLE><BR>
<H4><A NAME="_tapi2_addresses_qref"></A>Addresses </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func1_533n.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_533n.htm"><B>lineGetAddressCaps</B></A></TD>
<TD width=56%>Returns the telephony capabilities of an address. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func1_5b5f.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_5b5f.htm"><B>lineGetAddressStatus</B></A></TD>
<TD width=56%>Returns current status of a specified address. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func1_3w6c.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_3w6c.htm"><B>lineGetAddressID</B></A></TD>
<TD width=56%>Retrieves the address ID of an address specified using an alternate format. Synchronous. </TD>
</TR>
</TABLE><BR>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -