?? func1_3it5.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 + -