?? msgs_77zi.htm
字號(hào):
<!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>PHONE_BUTTON</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="PHONE_BUTTON">
<META NAME="MS-HAID" CONTENT="_tapi2_phone_button">
</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_phone_button"></A>PHONE_BUTTON</H1>
<P>The TAPI PHONE_BUTTON message is sent to notify the application that button press monitoring is enabled if it has detected a button press on the local phone. </P>
<PRE class=syntax>PHONE_BUTTON
hPhone = (HPHONE) hPhoneDevice;
dwCallbackInstance = (DWORD) hCallback;
dwParam1 = (DWORD) idButtonOrLamp;
dwParam2 = (DWORD) ButtonMode;
dwParam3 = (DWORD) ButtonState;</PRE>
<H4>Parameters</H4>
<DL>
<DT><I>hPhone</I> </DT>
<DD>A handle to the phone device. </DD>
<DT><I>dwCallbackInstance</I> </DT>
<DD>The application's callback instance provided when opening the phone device. </DD>
<DT><I>dwParam1</I> </DT>
<DD>The button/lamp identifier of the button that was pressed. Note that button identifiers zero through 11 are always the KEYPAD buttons, with '0' being button identifier zero, '1' being button identifier 1 (and so on through button identifier 9), and with '*' being button identifier 10, and '#' being button identifier 11. Additional information about a button identifier is available with <A HREF="func2_3l6b.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_3l6b.htm"><B>phoneGetDevCaps</B></A> and <A HREF="func2_4p2n.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_4p2n.htm"><B>phoneGetButtonInfo</B></A>. </DD>
<DT><I>dwParam2</I> </DT>
<DD>The button mode of the button. This parameter uses one of the <A HREF="constnts_5aib.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_5aib.htm">PHONEBUTTONMODE_ constants</A>.</DD>
<DT><I>dwParam3</I> </DT>
<DD>Specifies whether this is a button-down event or a button-up event. This parameter uses one of the <A HREF="constnts_49yr.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_49yr.htm">PHONEBUTTONSTATE_ constants</A>.
</DD>
</DL>
<H4>Return Values</H4>
<P>No return value. </P>
<H4>Remarks</H4>
<P>A PHONE_BUTTON message is sent whenever a button changes state. An application is guaranteed that for each button down event, it is eventually sent a corresponding button up event. A service provider that is incapable of detecting the actual button up is required to generate the button up message shortly after the button down message for each button press. </P>
<H4><A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm \n\n這個(gè)文件不能通過 Teleport Pro 取回, 因?yàn)?地址在一個(gè)域或?yàn)樗拈_始地址設(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="func2_4p2n.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_4p2n.htm"><B>phoneGetButtonInfo</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這個(gè)文件不能通過 Teleport Pro 取回, 因?yàn)?地址在一個(gè)域或?yàn)樗拈_始地址設(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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -