?? constnts_3s37.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>PHONESTATE_ Constants</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="PHONESTATE_ Constants">
<META NAME="MS-HAID" CONTENT="_tapi2_phonestate__constants">
</HEAD>
<BODY TOPMARGIN="0">
<!--TOOLBAR_START-->
<!--TOOLBAR_EXEMPT-->
<!--TOOLBAR_END-->
<!--SYNC_START-->
<script language="JavaScript" src='/library/synch.js'></script>
<!--SYNC_END-->
<H1><A NAME="_tapi2_phonestate__constants"></A>PHONESTATE_ Constants</H1>
<P>The PHONESTATE_ bit-flag constants describe various status items for a phone device.
<DL>
<DT>PHONESTATE_CAPSCHANGE </DT>
<DD>Indicates that, due to configuration changes made by the user or other circumstances, one or more of the members in the <A HREF="struc2_8rua.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_8rua.htm"><B>PHONECAPS</B></A> structure have changed. The application should use <A HREF="func2_3l6b.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_3l6b.htm"><B>phoneGetDevCaps</B></A> to read the updated structure. If a service provider sends a <A HREF="msgs_3f8l.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_3f8l.htm">PHONE_STATE</A> message containing this value to TAPI, TAPI will pass it along to applications that have negotiated TAPI version 1.4 or later; applications negotiating a previous API version will receive PHONE_STATE messages specifying PHONESTATE_REINIT, requiring them to shut down and reinitialize their connection to TAPI to obtain the updated information. </DD>
<DT>PHONESTATE_CONNECTED </DT>
<DD>The connection between the phone device and TAPI was just made. This happens when TAPI is first invoked or when the wire connecting the phone to the PC is plugged in with TAPI active. </DD>
<DT>PHONESTATE_DEVSPECIFIC </DT>
<DD>The phone's device-specific information has changed. </DD>
<DT>PHONESTATE_DISCONNECTED </DT>
<DD>The connection between the phone device and TAPI was just broken. This happens when the wire connecting the phone set to the PC is unplugged while TAPI is active. </DD>
<DT>PHONESTATE_DISPLAY </DT>
<DD>The display of the phone has changed. </DD>
<DT>PHONESTATE_HANDSETGAIN </DT>
<DD>The handset's microphone gain setting has changed. </DD>
<DT>PHONESTATE_HANDSETHOOKSWITCH </DT>
<DD>The handset hookswitch state has changed. </DD>
<DT>PHONESTATE_HANDSETVOLUME </DT>
<DD>The handset's speaker volume setting has changed. </DD>
<DT>PHONESTATE_HEADSETHOOKSWITCH </DT>
<DD>The headset's hookswitch state has changed. </DD>
<DT>PHONESTATE_HEADSETGAIN </DT>
<DD>The headset's microphone gain setting has changed. </DD>
<DT>PHONESTATE_HEADSETVOLUME </DT>
<DD>The headset's speaker volume setting has changed. </DD>
<DT>PHONESTATE_LAMP </DT>
<DD>A lamp of the phone has changed. </DD>
<DT>PHONESTATE_MONITORS </DT>
<DD>The number of monitors for the phone device. </DD>
<DT>PHONESTATE_OTHER </DT>
<DD>Phone-status items other than those listed below have changed. The application should check the current phone status to determine which items have changed. </DD>
<DT>PHONESTATE_OWNER </DT>
<DD>The number of owners for the phone device. </DD>
<DT>PHONESTATE_REINIT </DT>
<DD>Items have changed in the configuration of phone devices. To become aware of these changes (as for the appearance of new phone devices), the application should reinitialize its use of TAPI. </DD>
<DT>PHONESTATE_REMOVED </DT>
<DD>Indicates that the device is being removed from the system by the service provider (most likely through user action, through a control panel or similar utility). A <A HREF="msgs_3f8l.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_3f8l.htm">PHONE_STATE</A> message with this value will normally be immediately followed by a <A HREF="msgs_6751.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_6751.htm">PHONE_CLOSE</A> message on the device. Subsequent attempts to access the device prior to TAPI being reinitialized will result in PHONEERR_NODEVICE being returned to the application. If a service provider sends a PHONE_STATE message containing this value to TAPI, TAPI will pass it along to applications that have negotiated TAPI version 1.4 or later; applications negotiating a previous API version will not receive any notification. </DD>
<DT>PHONESTATE_RESUME </DT>
<DD>The application's use of the phone device is resumed after having been suspended for some time. </DD>
<DT>PHONESTATE_RINGMODE </DT>
<DD>The ring mode of the phone has changed. </DD>
<DT>PHONESTATE_RINGVOLUME </DT>
<DD>The ring volume of the phone has changed. </DD>
<DT>PHONESTATE_SPEAKERHOOKSWITCH </DT>
<DD>The speakerphone's hookswitch state has changed. </DD>
<DT>PHONESTATE_SPEAKERGAIN </DT>
<DD>The speakerphone's microphone gain setting state has changed. </DD>
<DT>PHONESTATE_SPEAKERVOLUME </DT>
<DD>The speakerphone's speaker volume setting has changed. </DD>
<DT>PHONESTATE_SUSPEND </DT>
<DD>The application's use of the phone is temporarily suspended.
</DD>
</DL>
<P>No extensibility. All 32 bits are reserved. </P>
<H4><A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開它嗎?'))window.location='http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm'" tppabs="http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm">Requirements</A> </H4>
<P><B> Windows NT/2000: </B>Requires Windows NT 4.0 SP3 or later.<BR>
<B> Windows 95/98: </B>Requires Windows 95 or later.<BR>
<B> Version: </B>Requires TAPI 2.0 or later.<BR>
<B> Header: </B>Declared in Tapi.h.</P>
<H4>See Also</H4>
<P><A HREF="msgs_6751.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_6751.htm">PHONE_CLOSE</A>, <A HREF="msgs_3f8l.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_3f8l.htm">PHONE_STATE</A>, <A HREF="struc2_8rua.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_8rua.htm"><B>PHONECAPS</B></A>, <A HREF="func2_3l6b.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_3l6b.htm"><B>phoneGetDevCaps</B></A> </P>
<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 取回, 因為 地址在一個域或為它的開始地址設(shè)定的邊界的外部路徑上. \n\n你想從服務(wù)器打開它嗎?'))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 + -