?? quickref_4rub.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>Supplementary Phone Service Functions</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HAID" CONTENT="_tapi2_supplementary_phone_service_functions">
<META NAME="MS-HAID" CONTENT="_tapi2_phone_initialization_and_shutdown_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_phone_version_negotiation_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_opening_and_closing_phone_devices_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_phone_status_and_capabilities_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_hookswitch_devices_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_display_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_ring_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_buttons_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_lamps_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_data_areas_qref">
<META NAME="MS-HAID" CONTENT="_tapi2_status_qref">
</HEAD>
<BODY TOPMARGIN="0">
<!--TOOLBAR_START-->
<!--TOOLBAR_EXEMPT-->
<!--TOOLBAR_END-->
<!--SYNC_START-->
<script language="JavaScript" src='/library/synch.js'></script>
<!--SYNC_END-->
<H4><A NAME="_tapi2_supplementary_phone_service_functions"></A>Supplementary Phone Service Functions</H4>
<P>The supplementary phone service functions are listed by category in the following topics. A function is identified as <I>asynchronous</I> if it will indicate 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 supplementary phone service functions:</P>
<P><A HREF="#_tapi2_buttons_qref">Buttons</A></P>
<P><A HREF="#_tapi2_data_areas_qref">Data areas</A></P>
<P><A HREF="#_tapi2_display_qref">Display</A></P>
<P><A HREF="#_tapi2_hookswitch_devices_qref">Hookswitch devices</A></P>
<P><A HREF="#_tapi2_lamps_qref">Lamps</A></P>
<P><A HREF="#_tapi2_opening_and_closing_phone_devices_qref">Opening and closing phone devices</A></P>
<P><A HREF="#_tapi2_phone_initialization_and_shutdown_qref">Phone initialization and shutdown</A></P>
<P><A HREF="#_tapi2_phone_status_and_capabilities_qref">Phone status and capabilities</A></P>
<P><A HREF="#_tapi2_phone_version_negotiation_qref">Phone version negotiation</A></P>
<P><A HREF="#_tapi2_ring_qref">Ring</A></P>
<P><A HREF="#_tapi2_status_qref">Status</A></P>
<H4><A NAME="_tapi2_phone_initialization_and_shutdown_qref"></A>Phone Initialization and Shutdown </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_1tbs.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_1tbs.htm"><B>phoneInitializeEx</B></A></TD>
<TD width=56%>Initializes TAPI phone abstraction for use by the invoking application. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_7b8u.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_7b8u.htm"><B>phoneShutdown</B></A> </TD>
<TD width=56%>Shuts down an application's use of TAPI's phone abstraction. Synchronous. </TD>
</TR>
</TABLE><BR>
<H4><A NAME="_tapi2_phone_version_negotiation_qref"></A>Phone Version Negotiation </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_98ry.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_98ry.htm"><B>phoneNegotiateAPIVersion</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_opening_and_closing_phone_devices_qref"></A>Opening and Closing Phone Devices </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_9o6m.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_9o6m.htm"><B>phoneOpen</B></A> </TD>
<TD width=56%>Opens the specified phone device, giving the application either owner or monitor privileges. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_2a05.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_2a05.htm"><B>phoneClose</B></A> </TD>
<TD width=56%>Closes a specified open phone device. Synchronous. </TD>
</TR>
</TABLE><BR>
<H4><A NAME="_tapi2_phone_status_and_capabilities_qref"></A>Phone Status and Capabilities </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_3l6b.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_3l6b.htm"><B>phoneGetDevCaps</B></A></TD>
<TD width=56%>Returns the capabilities of a given phone device. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_1qxw.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_1qxw.htm"><B>phoneGetID</B></A> </TD>
<TD width=56%>Returns a device ID for the given device class associated with the specified phone device. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_1e7i.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_1e7i.htm"><B>phoneGetIcon</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="func2_490n.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_490n.htm"><B>phoneConfigDialog</B></A> </TD>
<TD width=56%>Causes the provider of the specified phone device to display a dialog box that allows the user to configure parameters related to the phone device. Synchronous. </TD>
</TR>
</TABLE><BR>
<H4><A NAME="_tapi2_hookswitch_devices_qref"></A>Hookswitch Devices </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_2q7c.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_2q7c.htm"><B>phoneSetHookSwitch</B></A> </TD>
<TD width=56%>Sets the hook state of an open phone's hookswitch devices to a specified mode. Asynchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_7yy0.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_7yy0.htm"><B>phoneGetHookSwitch</B></A> </TD>
<TD width=56%>Queries the hookswitch mode of a hookswitch device of an open phone device. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_731h.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_731h.htm"><B>phoneSetVolume</B></A> </TD>
<TD width=56%>Sets the volume of a hookswitch device's speaker of an open phone device. Asynchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_3t45.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_3t45.htm"><B>phoneGetVolume</B></A> </TD>
<TD width=56%>Returns the volume setting of a hookswitch device's speaker of an open phone device. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_2ib2.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_2ib2.htm"><B>phoneSetGain</B></A> </TD>
<TD width=56%>Sets the gain of a hookswitch device's mic of an open phone device. Asynchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_9z1q.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_9z1q.htm"><B>phoneGetGain</B></A> </TD>
<TD width=56%>Returns the gain setting of a hookswitch device's mic of an open phone. Synchronous. </TD>
</TR>
</TABLE><BR>
<H4><A NAME="_tapi2_display_qref"></A>Display </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_4htl.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_4htl.htm"><B>phoneSetDisplay</B></A> </TD>
<TD width=56%>Writes information to the display of an open phone device. Asynchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_4uk9.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_4uk9.htm"><B>phoneGetDisplay</B></A> </TD>
<TD width=56%>Returns the current contents of a phone's display. Synchronous. </TD>
</TR>
</TABLE><BR>
<H4><A NAME="_tapi2_ring_qref"></A>Ring </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_50tj.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_50tj.htm"><B>phoneSetRing</B></A></TD>
<TD width=56%>Rings an open phone device according to a given ring mode. Asynchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_2hk7.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_2hk7.htm"><B>phoneGetRing</B></A> </TD>
<TD width=56%>Returns the current ring mode of an opened phone device. Synchronous. </TD>
</TR>
</TABLE><BR>
<H4><A NAME="_tapi2_buttons_qref"></A>Buttons </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_9gbz.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_9gbz.htm"><B>phoneSetButtonInfo</B></A></TD>
<TD width=56%>Sets the information associated with a button on a phone device. Asynchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_4p2n.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_4p2n.htm"><B>phoneGetButtonInfo</B></A> </TD>
<TD width=56%>Returns information associated with a button on a phone device. Synchronous. </TD>
</TR>
</TABLE><BR>
<H4><A NAME="_tapi2_lamps_qref"></A>Lamps </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_0lv4.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_0lv4.htm"><B>phoneSetLamp</B></A></TD>
<TD width=56%>Lights a lamp on a specified open phone device in a given lamp lighting mode. Asynchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_82ls.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_82ls.htm"><B>phoneGetLamp</B></A> </TD>
<TD width=56%>Returns the current lamp mode of the specified lamp. Synchronous. </TD>
</TR>
</TABLE><BR>
<H4><A NAME="_tapi2_data_areas_qref"></A>Data Areas </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_5o0x.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_5o0x.htm"><B>phoneSetData</B></A> </TD>
<TD width=56%>Downloads a buffer of data to a given data area in the phone device. Asynchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_34rl.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_34rl.htm"><B>phoneGetData</B></A> </TD>
<TD width=56%>Uploads the contents of a given data area in the phone device to a buffer. Synchronous. </TD>
</TR>
</TABLE><BR>
<H4><A NAME="_tapi2_status_qref"></A>Status </H4>
<TABLE>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_2183.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_2183.htm"><B>phoneSetStatusMessages</B></A> </TD>
<TD width=56%>Specifies the status changes for which the application wants to be notified. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_2gmr.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_2gmr.htm"><B>phoneGetStatusMessages</B></A> </TD>
<TD width=56%>Returns the status changes for which the application wants to be notified. Synchronous. </TD>
</TR>
<TR VALIGN="top">
<TD width=44%><A HREF="func2_7usz.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_7usz.htm"><B>phoneGetStatus</B></A></TD>
<TD width=56%>Returns the complete status of an open phone device. Synchronous. </TD>
</TR>
<DIV CLASS="footer">Built on Monday, August 14, 2000</DIV>
<!--FOOTER_START-->
<DIV CLASS="footer" STYLE="color:#000000;font-size:90%;">
<A HREF="mailto:sdkfdbk@microsoft.com">Send feedback</A> to the Platform SDK.</P>
<P><A HREF="javascript:if(confirm('http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設定的邊界的外部路徑上. \n\n你想從服務器打開它嗎?'))window.location='http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm'" tppabs="http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm" TARGET="_top">© 1999 Microsoft Corporation. All rights reserved. Terms of use.</A></P>
</DIV>
<!--FOOTER_END-->
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -