?? overvw1_3uuf.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>Digit Gathering</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="Digit Gathering">
<META NAME="MS-HAID" CONTENT="_tapi2_digit_gathering">
</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_digit_gathering"></A>Digit Gathering</H3>
<P>Besides enabling digit monitoring and being notified of digits one at a time, an application can also request that multiple digits be collected in a buffer. Only when the buffer is full or when some other termination condition is met is the application notified. Digit gathering is useful for functions such as credit card number collection. It is performed when an application calls <A HREF="func1_8q9f.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_8q9f.htm"><B>lineGatherDigits</B></A>, specifying a buffer to fill with digits. Digit gathering terminates when one of the following conditions is true:
<UL>
<LI>The requested number of digits has been collected. </LI>
<LI>One of multiple termination digits is detected. The termination digits are specified to <B>lineGatherDigits</B>, and the termination digit is placed in the buffer as well. </LI>
<LI>One of two timeouts expires. The timeouts are a first digit timeout, specifying the maximum duration before the first digit must be collected, and an inter-digit timeout, specifying the maximum duration between successive digits. </LI>
<LI>Digit gathering is canceled explicitly by <B>lineGatherDigits</B> again with either another set of parameters to start a new gathering request or by using a NULL digit buffer parameter to cancel. </LI>
</UL>
<P>When digit gathering terminates for any reason, a <A HREF="msgs_65mb.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_65mb.htm">LINE_GATHERDIGITS</A> message is sent to the application that requested the digit gathering. Only a single digit gathering request can be outstanding on a call at any given time across all applications that are owners of the call. </P>
<P>Digit gathering and digit monitoring can be enabled on the same call at the same time. In that case, the application will receive a <A HREF="msgs_5p0z.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_5p0z.htm">LINE_MONITORDIGITS</A> message for each detected digit and a separate LINE_GATHERDIGITS message when the buffer is sent back. </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 + -