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

📄 unicode_892r.htm

📁 TAPI Exampple
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!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>Functions with Unicode (W) Versions</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HAID" CONTENT="_tapi2_functions_with_unicode_w_versions">
</HEAD>
<BODY TOPMARGIN="0">

<!--TOOLBAR_START-->
<!--TOOLBAR_EXEMPT-->
<!--TOOLBAR_END-->
<!--SYNC_START-->
<script language="JavaScript" src='/library/synch.js'></script>
<!--SYNC_END-->

<H2><A NAME="_tapi2_functions_with_unicode_w_versions"></A>Functions with Unicode (W) Versions</H2>

<P>The following TAPI functions are implemented in Unicode (W) and ANSI (A) versions. In general, the implementation of the ANSI version calls the Unicode version and performs necessary conversions of ANSI parameters and structure fields to and from Unicode; the following table indicates the parameters that are converted. </P>

<P>Applications that explicitly call the generic (neither "W" or "A" suffix) version of a function will execute the ANSI version, for compatibility with previous versions of TAPI. </P>

<P class=note><B>Note</B>&nbsp;&nbsp;The entire Telephony Service Provider Interface (TSPI) is Unicode for version 2.0. </P>

<P>In the following table, references to string fields in TAPI structures consist of a portion of the field names. For example, the "Caller Address" in the <A HREF="struc2_781e.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_781e.htm"><B>LINEFORWARD</B></A> structure is pointed to by a field named <B>dwCallerAddressOffset</B> and delimited by a field named <B>dwCallerAddressSize</B>; in the table, this string is identified simply as <B>CallerAddress</B>. </P>

<TABLE>

<TR VALIGN="top">
<TH align=left width=46%>TAPI function </TH>
<TH align=left width=54%>Parameters and structure fields converted in ANSI version of function </TH>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_1s4y.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_1s4y.htm"><B>lineAddProvider</B></A> </TD>
<TD width=54%><I>lpszProviderName</I> </TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_36wi.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_36wi.htm"><B>lineBlindTransfer</B></A> </TD>
<TD width=54%><I>lpszDestAddress</I> </TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_53tz.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_53tz.htm"><B>lineConfigDialog</B></A> </TD>
<TD width=54%><I>lpszDeviceClass</I> </TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_9mpg.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_9mpg.htm"><B>lineConfigDialogEdit</B></A> </TD>
<TD width=54%><I>lpszDeviceClass</I> 
<P class=note><B>Note</B>&nbsp;&nbsp;Application must handle conversion of strings in <I>lpDeviceConfigIn</I> and <I>lpDeviceConfigOut</I>, if these are directly manipulated. </P>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_0p0s.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_0p0s.htm"><B>lineDial</B></A> </TD>
<TD width=54%><I>lpszDestAddress</I> </TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_36jo.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_36jo.htm"><B>lineForward</B></A> </TD>
<TD width=54%><I>lpForwardList</I> (<A HREF="struc2_4rqq.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_4rqq.htm"><B>LINEFORWARDLIST</B></A>) 
<UL>
	<LI><I>ForwardList</I> (<A HREF="struc2_781e.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_781e.htm"><B>LINEFORWARD</B></A>) 
<UL>
	<LI><I>CallerAddress</I> </LI>

	<LI><I>DestAddress</I> </LI>
</UL>
</LI>
</UL>

<P><I>lpCallParams</I> (<A HREF="struc1_904y.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_904y.htm"><B>LINECALLPARAMS</B></A>) 

<UL>
	<LI><I>OrigAddress</I> </LI>

	<LI><I>DisplayableAddress</I> </LI>

	<LI><I>CalledParty</I> </LI>

	<LI><I>Comment</I> </LI>

	<LI><I>TargetAddress</I> </LI>

	<LI><I>DeviceClass</I> </LI>

	<LI><I>CallingPartyID</I> </LI>
</UL>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_8q9f.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_8q9f.htm"><B>lineGatherDigits</B></A> </TD>
<TD width=54%><I>lpsDigits</I> 
<P><I>lpszTerminationDigits</I> </P>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_8ir7.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_8ir7.htm"><B>lineGenerateDigits</B></A> </TD>
<TD width=54%><I>lpszDigits</I> </TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_533n.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_533n.htm"><B>lineGetAddressCaps</B></A> </TD>
<TD width=54%><I>lpAddressCaps</I> (<A HREF="struc1_5uuq.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_5uuq.htm"><B>LINEADDRESSCAPS</B></A>) 
<UL>
	<LI><I>Address</I> </LI>

	<LI><I>CompletionMsgText</I> </LI>

	<LI><I>DeviceClasses</I> </LI>

	<LI><I>CallTreatmentList </I>(<A HREF="struc1_74he.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_74he.htm"><B>LINECALLTREATMENTENTRY</B></A>) </LI>

	<LI><I>CallTreatmentName</I> </LI>
</UL>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_3w6c.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_3w6c.htm"><B>lineGetAddressID</B></A> </TD>
<TD width=54%><I>lpsAddress</I> </TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_5b5f.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_5b5f.htm"><B>lineGetAddressStatus</B></A> </TD>
<TD width=54%><I>lpAddressStatus</I> (<A HREF="struc1_848i.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_848i.htm"><B>LINEADDRESSSTATUS</B></A>) 
<UL>
	<LI><I>Forward</I> (<A HREF="struc2_781e.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_781e.htm"><B>LINEFORWARD</B></A>) </LI>

	<LI><I>CallerAddress</I> </LI>

	<LI><I>DestAddress</I> </LI>
</UL>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_2cs4.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_2cs4.htm"><B>lineGetAgentActivityList</B></A> </TD>
<TD width=54%><I>lpAgentActivityList</I> (<A HREF="struc1_1joy.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_1joy.htm"><B>LINEAGENTACTIVITYLIST</B></A>) 
<UL>
	<LI><I>List</I> (<A HREF="struc1_27aq.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_27aq.htm"><B>LINEAGENTACTIVITYENTRY</B></A>) </LI>

	<LI><I>Name</I> </LI>
</UL>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_7ptf.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_7ptf.htm"><B>lineGetAgentCaps</B></A> </TD>
<TD width=54%><I>lpAgentCaps</I> (<A HREF="struc1_794i.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_794i.htm"><B>LINEAGENTCAPS</B></A>) 
<UL>
	<LI><I>AgentHandlerInfo</I> </LI>
</UL>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_5rn8.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_5rn8.htm"><B>lineGetAgentGroupList</B></A> </TD>
<TD width=54%><I>lpAgentGroupListI</I>(<A HREF="struc1_5z02.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_5z02.htm"><B>LINEAGENTGROUPLIST</B></A>) 
<UL>
	<LI><I>List</I> (<A HREF="struc1_5f1u.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_5f1u.htm"><B>LINEAGENTGROUPENTRY</B></A>) </LI>

	<LI><I>Name</I> </LI>
</UL>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_1w37.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_1w37.htm"><B>lineGetAgentStatus</B></A> </TD>
<TD width=54%><I>lpAgentStatus</I> (<A HREF="struc1_7wqa.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_7wqa.htm"><B>LINEAGENTSTATUS</B></A>) 
<UL>
	<LI><I>Activity</I> </LI>

	<LI><I>GroupList</I> (<A HREF="struc1_5f1u.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_5f1u.htm"><B>LINEAGENTGROUPENTRY</B></A>) </LI>

	<LI><I>Name</I> </LI>
</UL>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_3it5.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_3it5.htm"><B>lineGetAppPriority</B></A> </TD>
<TD width=54%><I>lpszAppFilename</I> 
<P><I>lpExtensionName</I> </P>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_96cv.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_96cv.htm"><B>lineGetCallInfo</B></A> </TD>
<TD width=54%><I>lpCallInfo</I> (<A HREF="struc1_4oky.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_4oky.htm"><B>LINECALLINFO</B></A>) 
<UL>
	<LI><I>CallerID</I> </LI>

	<LI><I>CallerIDName</I> </LI>

	<LI><I>CalledID</I> </LI>

	<LI><I>CalledIDName</I> </LI>

	<LI><I>ConnectID</I> </LI>

	<LI><I>ConnectedIDName</I> </LI>

	<LI><I>RedirectionID</I> </LI>

	<LI><I>RedirectionIDName</I> </LI>

	<LI><I>RedirectingID</I> </LI>

	<LI><I>RedirectingIDName</I> </LI>

	<LI><I>AppName</I> </LI>

	<LI><I>DisplayableAddress</I> </LI>

	<LI><I>CalledParty</I> </LI>

	<LI><I>Comment</I> </LI>
</UL>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_9qex.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_9qex.htm"><B>lineGetCountry</B></A> </TD>
<TD width=54%><I>lpLineCountryList</I> (<A HREF="struc1_8bxu.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_8bxu.htm"><B>LINECOUNTRYLIST</B></A>) 
<UL>
	<LI><I>CountryList</I> (<A HREF="struc1_6f3m.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc1_6f3m.htm"><B>LINECOUNTRYENTRY</B></A>) </LI>

	<LI><I>CountryName</I> </LI>

	<LI><I>SameAreaRule</I> </LI>

	<LI><I>LongDistanceRule</I> </LI>

	<LI><I>InternationalRule</I> </LI>
</UL>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_2lbn.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_2lbn.htm"><B>lineGetDevCaps</B></A> </TD>
<TD width=54%><I>lpLineDevCaps</I> (<A HREF="struc2_67aq.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_67aq.htm"><B>LINEDEVCAPS</B></A>) 
<UL>
	<LI><I>ProviderInfo</I> </LI>

	<LI><I>SwitchInfo</I> </LI>

	<LI><I>LineName</I> </LI>

	<LI><I>TerminalText</I> </LI>

	<LI><I>DeviceClasses</I> </LI>
</UL>

<P class=note><B>Note</B>&nbsp;&nbsp;<I>dwStringFormat</I> is obsolete. </P>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_078n.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_078n.htm"><B>LineGetDevConfig</B></A> </TD>
<TD width=54%><I>lpszDeviceClass</I> 
<P class=note><B>Note</B>&nbsp;&nbsp;Application must handle conversion of strings in <I>lpDeviceConfig</I>, if these are directly manipulated. </P>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_0mcu.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_0mcu.htm"><B>LineGetIcon</B></A> </TD>
<TD width=54%><I>lpszDeviceClass</I> </TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_2gf8.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_2gf8.htm"><B>lineGetID</B></A> </TD>
<TD width=54%><I>lpszDeviceClass</I> 
<P class=note><B>Note</B>&nbsp;&nbsp;Application must handle conversion of strings in <I>lpDeviceID</I>, if these are directly manipulated. </P>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_4377.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_4377.htm"><B>LineGetLineDevStatus</B></A> </TD>
<TD width=54%><I>lpLineDevStatus</I> (<A HREF="struc2_40oi.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_40oi.htm"><B>LINEDEVSTATUS</B></A>) 
<UL>
	<LI><I>AppInfo</I> (LINEAPPINFO) </LI>

	<LI><I>MachineName</I> </LI>

	<LI><I>UserName</I> </LI>

	<LI><I>ModuleFilename</I> </LI>

	<LI><I>FriendlyName</I> </LI>
</UL>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_05ro.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_05ro.htm"><B>lineGetProviderList</B></A> </TD>
<TD width=54%><I>lpProviderList</I> (<A HREF="struc2_4bci.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_4bci.htm"><B>LINEPROVIDERLIST</B></A>) 
<UL>
	<LI><I>ProviderList</I> (<A HREF="struc2_9d6a.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_9d6a.htm"><B>LINEPROVIDERENTRY</B></A>) </LI>

	<LI><I>ProviderFilename</I> </LI>
</UL>
</TD>
</TR>

<TR VALIGN="top">
<TD width=46%><A HREF="func1_2ek4.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_2ek4.htm"><B>lineGetRequest</B></A> </TD>
<TD width=54%><I>lpRequestBuffer</I> (<A HREF="struc2_3xf6.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_3xf6.htm">LINEREQMAKECALL</A> 
<UL>
	<LI><I>szDestAddress</I> </LI>

	<LI><I>szAppName</I> </LI>

⌨️ 快捷键说明

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