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

📄 struc1_904y.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>LINECALLPARAMS</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINECALLPARAMS">
<META NAME="MS-HAID" CONTENT="_tapi2_linecallparams_str">
</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_linecallparams_str"></A>LINECALLPARAMS</H1>

<P>The <B>LINECALLPARAMS</B> structure describes parameters supplied when making calls using the <A HREF="func1_7mgc.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_7mgc.htm"><B>lineMakeCall</B></A> and <A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/tspi21/func2_0r8s.htm  \n\n这个文件不能通过 Teleport Pro 取回, 因为 地址在一个域或为它的开始地址设定的边界的外部路径上.  \n\n你想从服务器打开它吗?'))window.location='http://msdn.microsoft.com/library/psdk/tspi21/func2_0r8s.htm'" tppabs="http://msdn.microsoft.com/library/psdk/tspi21/func2_0r8s.htm"><B>TSPI_lineMakeCall</B></A> functions. The <B>LINECALLPARAMS</B> structure is also used as a parameter in other operations, such as the <A HREF="func2_34by.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_34by.htm"><B>lineOpen</B></A> function. </P>

<P>The comments to the right of the syntax block indicate the default values used when this structure is not provided to <B>lineMakeCall</B>.  </P>

<PRE class=syntax>typedef struct linecallparams_tag {  // Defaults:
  DWORD  dwTotalSize;          // ---------
  
  DWORD  dwBearerMode;              // voice
  DWORD  dwMinRate;                 // (3.1kHz)
  DWORD  dwMaxRate;                 // (3.1kHz)
  DWORD  dwMediaMode;               // interactiveVoice

  DWORD  dwCallParamFlags;          // 0
  DWORD  dwAddressMode;             // addressID
  DWORD  dwAddressID;               // (any available)

  LINEDIALPARAMS DialParams;        // (0, 0, 0, 0)

  DWORD  dwOrigAddressSize;         // 0
  DWORD  dwOrigAddressOffset;

  DWORD  dwDisplayableAddressSize;  // 0
  DWORD  dwDisplayableAddressOffset;

  DWORD  dwCalledPartySize;         // 0
  DWORD  dwCalledPartyOffset;

  DWORD  dwCommentSize;             // 0
  DWORD  dwCommentOffset;

  DWORD  dwUserUserInfoSize;        // 0
  DWORD  dwUserUserInfoOffset;

  DWORD  dwHighLevelCompSize;       // 0
  DWORD  dwHighLevelCompOffset;

  DWORD  dwLowLevelCompSize;        // 0
  DWORD  dwLowLevelCompOffset;

  DWORD  dwDevSpecificSize;         // 0
  DWORD  dwDevSpecificOffset;

  DWORD  dwPredictiveAutoTransferStates;//TAPI Version 2.0

  DWORD  dwTargetAddressSize;    //TAPI Version 2.0
  DWORD  dwTargetAddressOffset;  //TAPI Version 2.0

  DWORD  dwSendingFlowspecSize;   //TAPI Version 2.0
  DWORD  dwSendingFlowspecOffset; //TAPI Version 2.0

  DWORD  dwReceivingFlowspecSize;   //TAPI Version 2.0
  DWORD  dwReceivingFlowspecOffset; //TAPI Version 2.0

  DWORD  dwDeviceClassSize;      //TAPI Version 2.0
  DWORD  dwDeviceClassOffset;    //TAPI Version 2.0

  DWORD  dwDeviceConfigSize;     //TAPI Version 2.0
  DWORD  dwDeviceConfigOffset;   //TAPI Version 2.0

  DWORD  dwCallDataSize;         //TAPI Version 2.0
  DWORD  dwCallDataOffset;       //TAPI Version 2.0

  DWORD  dwNoAnswerTimeout;      //TAPI Version 2.0

  DWORD  dwCallingPartyIDSize;   //TAPI Version 2.0
  DWORD  dwCallingPartyIDOffset; //TAPI Version 2.0

  DWORD  dwAddressType;          //TAPI Version 3.0
} LINECALLPARAMS, FAR *LPLINECALLPARAMS; </PRE>

<H4>Members</H4>

<DL>
<DT><B>dwTotalSize</B> </DT>

<DD>The total size, in bytes, allocated to this data structure. This size should be big enough to hold all the fixed and variably sized portions of this data structure. </DD>

<DT><B>dwBearerMode</B> </DT>

<DD>The bearer mode for the call. This member uses one of the <A HREF="constnts_9qb7.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_9qb7.htm">LINEBEARERMODE_ constants</A>.

<P>If <B>dwBearerMode</B> is zero, the default value is LINEBEARERMODE_VOICE. 
</DD>

<DT><B>dwMinRate</B> </DT>

<DT><B>dwMaxRate</B> </DT>

<DD>The data rate range requested for the call's data stream in bps (bits per second). When making a call, the service provider attempts to provide the highest available rate in the requested range. If a specific data rate is required, both min and max should be set to that value. If an application works best with one rate but is able to degrade to lower rates, the application should specify these as the maximum and minimum rates, respectively. If <B>dwMaxRate</B> is zero, the default value is as specified by the <B>dwMaxRate</B> member of the <A HREF="struc2_67aq.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_67aq.htm"><B>LINEDEVCAPS</B></A> structure. This is the maximum rate supported by the device. </DD>

<DT><B>dwMediaMode</B> </DT>

<DD>The expected media type of the call. This member uses one of the <A HREF="constnts_0x6b.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_0x6b.htm">LINEMEDIAMODE_ constants</A>.

<P>If <B>dwMediaMode</B> is zero, the default value is LINEMEDIAMODE_INTERACTIVEVOICE. 
</DD>

<DT><B>dwCallParamFlags</B> </DT>

<DD>These flags specify a collection of Boolean call-setup parameters. This member uses one or more of the <A HREF="constnts_9ilv.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_9ilv.htm">LINECALLPARAMFLAGS_ constants</A>.</DD>

<DT><B>dwAddressMode</B> </DT>

<DD>The mode by which the originating address is specified. The <B>dwAddressMode</B> member cannot be LINEADDRESSMODE_ADDRESSID for the <A HREF="func2_34by.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_34by.htm"><B>lineOpen</B></A><B> </B>function call. This member uses one of the <A HREF="constnts_5ib7.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_5ib7.htm">LINEADDRESSMODE_ constants</A>.</DD>

<DT><B>dwAddressID</B> </DT>

<DD>The address identifier of the originating address if <B>dwAddressMode</B> is set to LINEADDRESSMODE_ADDRESSID. An address identifier is permanently associated with an address; the identifier remains constant across operating system upgrades. </DD>

<DT><B>DialParams</B> </DT>

<DD>Dial parameters to be used on this call, of type <A HREF="struc2_30xe.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_30xe.htm"><B>LINEDIALPARAMS</B></A>. When a value of 0 is specified for this field, the default value for the field is used as indicated in the <B>DefaultDialParams</B> member of the <A HREF="struc2_67aq.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_67aq.htm"><B>LINEDEVCAPS</B></A> structure. If a nonzero value is specified for a field that is outside the range specified by the corresponding fields in <B>MinDialParams</B> and <B>MaxDialParams</B> in the <B>LINEDEVCAPS</B> structure, the nearest value within the valid range is used instead. </DD>

<DT><B>dwOrigAddressSize</B> </DT>

⌨️ 快捷键说明

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