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

📄 func1_3it5.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>lineGetAppPriority</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="lineGetAppPriority">
<META NAME="MS-HAID" CONTENT="_tapi2_linegetapppriority">
</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_linegetapppriority"></A>lineGetAppPriority</H1>

<P>The <B>lineGetAppPriority</B> function allows an application to determine whether or not it is in the handoff priority list for a particular media mode or Assisted Telephony request mode and, if so, its position in the priority list. </P>

<PRE class=syntax><B>LONG WINAPI lineGetAppPriority(
  LPCSTR</B><I> lpszAppFilename</I><B>,                 </B>
<B>  DWORD</B><I> dwMediaMode</I><B>,                      </B>
<B>  LPLINEEXTENSIONID </B><I>lpExtensionID</I><B>,  </B>
<B>  DWORD</B><I> dwRequestMode</I><B>,                    </B>
<B>  LPVARSTRING</B><I> lpExtensionName</I><B>,            </B>
<B>  LPDWORD</B><I> lpdwPriority                    </I>
<B>);</B></PRE>

<H4>Parameters</H4>

<DL>
<DT><I>lpszAppFilename</I> </DT>

<DD>A pointer to a string containing the application executable module file name (without directory information). In API version 2.0 or later, the parameter can be in long file name format, of which the 8.3 file name format is a proper subset. Long file names, unlike 8.3 file names, are case preserving. Neither file name format is case sensitive. See <A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/winbase/filesio_7qwj.htm  \n\n这个文件不能通过 Teleport Pro 取回, 因为 地址在一个域或为它的开始地址设定的边界的外部路径上.  \n\n你想从服务器打开它吗?'))window.location='http://msdn.microsoft.com/library/psdk/winbase/filesio_7qwj.htm'" tppabs="http://msdn.microsoft.com/library/psdk/winbase/filesio_7qwj.htm">File Name Conventions</A>. In API versions earlier than 2.0, the parameter must specify a file name in the 8.3 format; long file names cannot be used. </DD>

<DT><I>dwMediaMode</I> </DT>

<DD>The media mode for which the priority information is to be obtained. The value can be one of the <A HREF="constnts_0x6b.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_0x6b.htm">LINEMEDIAMODE_ Constants</A>; only a single bit can be on. The value 0 should be used if checking application priority for Assisted Telephony requests. </DD>

<DT><I>lpExtensionID</I> </DT>

<DD>A pointer to structure of type <A HREF="struc2_1t6a.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_1t6a.htm"><B>LINEEXTENSIONID</B></A>. This parameter is ignored. </DD>

<DT><I>dwRequestMode</I> </DT>

<DD>If the <I>dwMediaMode</I> parameter is zero, this parameter specifies the Assisted Telephony request mode for which priority is to be checked. It must be either LINEREQUESTMODE_MAKECALL or LINEREQUESTMODE_MEDIACALL. This parameter is ignored if <I>dwMediaMode</I> is non-zero. </DD>

<DT><I>lpExtensionName</I> </DT>

<DD>This parameter is ignored. </DD>

<DT><I>lpdwPriority</I> </DT>

<DD>A pointer to a <B>DWORD</B>-size memory location into which TAPI writes the priority of the application for the specified media or request mode. The value 0 is returned if the application is not in the stored priority list and does not currently have any line device open with ownership requested of the specified media mode or having registered for the specified request mode. 

<P>In API versions earlier than 2.0, the value 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -