⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msgs_3cfo.htm

📁 TAPI Exampple
💻 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>LINE_PROXYREQUEST</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINE_PROXYREQUEST">
<META NAME="MS-HAID" CONTENT="_tapi2_line_proxyrequest">
</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_line_proxyrequest"></A>LINE_PROXYREQUEST</H1>

<P>The TAPI LINE_PROXYREQUEST message delivers a request to a registered proxy function handler. </P>

<PRE class=syntax>LINE_PROXYREQUEST
hDevice = (DWORD) hLine;
dwCallbackInstance = (DWORD) dwInstanceData;
dwParam1 = (DWORD) lpProxyRequest;
dwParam2 = (DWORD) 0;
dwParam3 = (DWORD) 0;</PRE>

<H4>Parameters</H4>

<DL>
<DT><I>hDevice</I> </DT>

<DD>The application's handle to the line device on which the agent status has changed. </DD>

<DT><I>dwCallbackInstance</I> </DT>

<DD>The callback instance supplied when opening the call's line. </DD>

<DT><I>dwParam1</I> </DT>

<DD>Pointer to a <A HREF="struc1_83ci.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_83ci.htm"><B>LINEPROXYREQUEST</B></A> structure containing the request to be processed by the proxy handler application. </DD>

<DT><I>dwParam2</I> </DT>

<DD>Reserved. </DD>

<DT><I>dwParam3</I> </DT>

<DD>Reserved. 
</DD>
</DL>

<H4>Return Values</H4>

<P>No return value. </P>

<H4>Remarks</H4>

<P>The LINE_PROXYREQUEST message is sent only to the first application that registered to handle proxy requests of the type being delivered. </P>

<P>The application should process the request contained in the proxy buffer and call <A HREF="func1_4lyd.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_4lyd.htm"><B>lineProxyResponse</B></A> to return data or deliver results. Processing of the request should be done within the context of the application's TAPI callback function <I>only</I> if it can be performed immediately, without waiting for response from any other entity. If the application needs to communicate with other entities (for example, a service provider to handle PBX-based ACD, or any other system service which might result in blocking), then the request should be queued within the application and the callback function exited to avoid delaying the receipt of further TAPI messages by the application. </P>

<P>At the time the LINE_PROXYREQUEST is delivered to the proxy handler, TAPI has already returned a positive <I>dwRequestID</I> function result to the original application and unblocked the calling thread to continue execution. The application is awaiting a LINE_REPLY message, which is automatically generated when the proxy handler application calls <B>lineProxyResponse</B>. </P>

<P>The application shall not free the memory pointed to by <I>lpProxyRequest</I>. TAPI frees the memory during the execution of <A HREF="func1_4lyd.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_4lyd.htm"><B>lineProxyResponse</B></A>. The application can call <B>lineProxyResponse</B> exactly once for each LINE_PROXYREQUEST message. </P>

<P>If the application receives a <A HREF="msgs_1hyd.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_1hyd.htm">LINE_CLOSE</A> message while it has pending proxy requests, it should call <B>lineProxyResponse</B> for each pending request, passing in an appropriate <I>dwResult</I> value (such as LINEERR_OPERATIONFAILED). </P>

<H4><A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/sdkintro/guide_927n.htm  \n\n这个文件不能通过 Teleport Pro 取回, 因为 地址在一个域或为它的开始地址设定的边界的外部路径上.  \n\n你想从服务器打开它吗?'))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>&nbsp;&nbsp;Windows NT/2000: </B>Requires Windows NT 4.0 SP3 or later.<BR>
<B>&nbsp;&nbsp;Windows 95/98: </B>Requires Windows 95 or later.<BR>
<B>&nbsp;&nbsp;Version: </B>Requires TAPI 2.0 or later.<BR>
<B>&nbsp;&nbsp;Header: </B>Declared in Tapi.h.</P>

<H4>See Also</H4>

<P><A HREF="msgs_1hyd.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_1hyd.htm">LINE_CLOSE</A>, <A HREF="msgs_65mh.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/msgs_65mh.htm">LINE_REPLY</A>, <A HREF="struc1_83ci.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_83ci.htm"><B>LINEPROXYREQUEST</B></A>, <A HREF="func1_4lyd.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_4lyd.htm"><B>lineProxyResponse</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 取回, 因为 地址在一个域或为它的开始地址设定的边界的外部路径上.  \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">&#169; 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 + -