?? struc2_67aq.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>LINEDEVCAPS</TITLE>
<SCRIPT SRC="/library/psdk/linkcss.js"></SCRIPT>
<META NAME="MS-HKWD" CONTENT="LINEDEVCAPS">
<META NAME="MS-HAID" CONTENT="_tapi2_linedevcaps_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_linedevcaps_str"></A>LINEDEVCAPS</H1>
<P>The <B>LINEDEVCAPS</B> structure describes the capabilities of a line device. The <A HREF="func1_2lbn.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_2lbn.htm"><B>lineGetDevCaps</B></A> function and the <A HREF="javascript:if(confirm('http://msdn.microsoft.com/library/psdk/tspi21/func2_5lo3.htm \n\n這個文件不能通過 Teleport Pro 取回, 因為 地址在一個域或為它的開始地址設定的邊界的外部路徑上. \n\n你想從服務器打開它嗎?'))window.location='http://msdn.microsoft.com/library/psdk/tspi21/func2_5lo3.htm'" tppabs="http://msdn.microsoft.com/library/psdk/tspi21/func2_5lo3.htm"><B>TSPI_lineGetDevCaps</B></A> function return the <B>LINEDEVCAPS</B> structure. </P>
<PRE class=syntax>typedef struct linedevcaps_tag {
DWORD dwTotalSize;
DWORD dwNeededSize;
DWORD dwUsedSize;
DWORD dwProviderInfoSize;
DWORD dwProviderInfoOffset;
DWORD dwSwitchInfoSize;
DWORD dwSwitchInfoOffset;
DWORD dwPermanentLineID;
DWORD dwLineNameSize;
DWORD dwLineNameOffset;
DWORD dwStringFormat;
DWORD dwAddressModes;
DWORD dwNumAddresses;
DWORD dwBearerModes;
DWORD dwMaxRate;
DWORD dwMediaModes;
DWORD dwGenerateToneModes;
DWORD dwGenerateToneMaxNumFreq;
DWORD dwGenerateDigitModes;
DWORD dwMonitorToneMaxNumFreq;
DWORD dwMonitorToneMaxNumEntries;
DWORD dwMonitorDigitModes;
DWORD dwGatherDigitsMinTimeout;
DWORD dwGatherDigitsMaxTimeout;
DWORD dwMedCtlDigitMaxListSize;
DWORD dwMedCtlMediaMaxListSize;
DWORD dwMedCtlToneMaxListSize;
DWORD dwMedCtlCallStateMaxListSize;
DWORD dwDevCapFlags;
DWORD dwMaxNumActiveCalls;
DWORD dwAnswerMode;
DWORD dwRingModes;
DWORD dwLineStates;
DWORD dwUUIAcceptSize;
DWORD dwUUIAnswerSize;
DWORD dwUUIMakeCallSize;
DWORD dwUUIDropSize;
DWORD dwUUISendUserUserInfoSize;
DWORD dwUUICallInfoSize;
LINEDIALPARAMS MinDialParams;
LINEDIALPARAMS MaxDialParams;
LINEDIALPARAMS DefaultDialParams;
DWORD dwNumTerminals;
DWORD dwTerminalCapsSize;
DWORD dwTerminalCapsOffset;
DWORD dwTerminalTextEntrySize;
DWORD dwTerminalTextSize;
DWORD dwTerminalTextOffset;
DWORD dwDevSpecificSize;
DWORD dwDevSpecificOffset;
DWORD dwLineFeatures;
DWORD dwSettableDevStatus;
DWORD dwDeviceClassesSize;
DWORD dwDeviceClassesOffset;
GUID PermanentLineGuid; //TAPI Version 2.2
DWORD dwAddressTypes; //TAPI Version 3.0
GUID ProtocolGuid; //TAPI Version 3.0
DWORD dwAvailableTracking; //TAPI Version 3.0
} LINEDEVCAPS, FAR *LPLINEDEVCAPS; </PRE>
<H4>Members</H4>
<DL>
<DT><B>dwTotalSize</B> </DT>
<DD>The total size, in bytes, allocated to this data structure. </DD>
<DT><B>dwNeededSize</B> </DT>
<DD>The size, in bytes, for this data structure that is needed to hold all the returned information. </DD>
<DT><B>dwUsedSize</B> </DT>
<DD>The size, in bytes, of the portion of this data structure that contains useful information. </DD>
<DT><B>dwProviderInfoSize</B> </DT>
<DT><B>dwProviderInfoOffset</B> </DT>
<DD>The size, in bytes, of the variably sized field containing service provider information, and the offset, in bytes, from the beginning of this data structure. The <B>dwProviderInfoSize/Offset</B> member is intended to provide information about the provider hardware and/or software, such as the vendor name and version numbers of hardware and software. This information can be useful when a user needs to call customer service with problems regarding the provider. </DD>
<DT><B>dwSwitchInfoSize</B> </DT>
<DT><B>dwSwitchInfoOffset</B> </DT>
<DD>The size, in bytes, of the variably sized device field containing switch information, and the offset, in bytes, from the beginning of this data structure. The <B>dwSwitchInfoSize/Offset</B> member is intended to provide information about the switch to which the line device is connected, such as the switch manufacturer, the model name, the software version, and so on. This information can be useful when a user needs to call customer service with problems regarding the switch. </DD>
<DT><B>dwPermanentLineID</B> </DT>
<DD>The permanent <B>DWORD</B> identifier by which the line device is known in the system's configuration. It is a permanent name for the line device. This permanent name (as opposed to <I>dwDevice ID</I>) does not change as lines are added or removed from the system, and persists through operating system upgrades. It can therefore be used to link line-specific information in .ini files (or other files) in a way that is not affected by adding or removing other lines or by changing the operating system. </DD>
<DT><B>dwLineNameSize</B> </DT>
<DT><B>dwLineNameOffset</B> </DT>
<DD>The size, in bytes, of the variably sized device field containing a user configurable name for this line device, and the offset, in bytes, from the beginning of this data structure. This name can be configured by the user when configuring the line device's service provider, and is provided for the user's convenience. </DD>
<DT><B>dwStringFormat</B> </DT>
<DD>The string format used with this line device. This member uses one of the <A HREF="constnts_1cab.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_1cab.htm">STRINGFORMAT_ Constants</A>.</DD>
<DT><B>dwAddressModes</B> </DT>
<DD>The mode by which the originating address is specified. This member uses the <A HREF="constnts_5ib7.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_5ib7.htm">LINEADDRESSMODE_ Constants</A>. </DD>
<DT><B>dwNumAddresses</B> </DT>
<DD>The number of addresses associated with this line device. Individual addresses are referred to by address identifiers. Address identifiers range from zero to one less than the value indicated by <B>dwNumAddresses</B>. </DD>
<DT><B>dwBearerModes</B> </DT>
<DD>Flag array that indicates the different bearer modes that the address is able to support. This member uses one or more of the <A HREF="constnts_9qb7.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_9qb7.htm">LINEBEARERMODE_ Constants</A>.</DD>
<DT><B>dwMaxRate</B> </DT>
<DD>Contains the maximum data rate, in bits per second, for information exchange over the call. </DD>
<DT><B>dwMediaModes</B> </DT>
<DD>Flag array that indicates the different media types the address is able to support. This member uses one or more of the <A HREF="constnts_0x6b.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_0x6b.htm">LINEMEDIAMODE_ Constants</A>.</DD>
<DT><B>dwGenerateToneModes</B> </DT>
<DD>The different kinds of tones that can be generated on this line. This member uses one or more of the <A HREF="constnts_5yer.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_5yer.htm">LINETONEMODE_ Constants</A>.</DD>
<DT><B>dwGenerateToneMaxNumFreq</B> </DT>
<DD>Contains the maximum number of frequencies that can be specified in describing a general tone using the <A HREF="struc2_838y.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_838y.htm"><B>LINEGENERATETONE</B></A> data structure when generating a tone using <A HREF="func1_23xh.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func1_23xh.htm"><B>lineGenerateTone</B></A>. A value of 0 indicates that tone generation is not available. </DD>
<DT><B>dwGenerateDigitModes</B> </DT>
<DD>Specifies the digit modes than can be generated on this line. This member uses one or more of the <A HREF="constnts_56gj.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/constnts_56gj.htm">LINEDIGITMODE_ Constants</A>.</DD>
<DT><B>dwMonitorToneMaxNumFreq</B> </DT>
<DD>Contains the maximum number of frequencies that can be specified in describing a general tone using the <A HREF="struc2_1xpu.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/struc2_1xpu.htm"><B>LINEMONITORTONE</B></A> data structure when monitoring a general tone using <A HREF="func2_77eb.htm" tppabs="http://msdn.microsoft.com/library/psdk/tapi22/func2_77eb.htm"><B>lineMonitorTones</B></A>. A value of 0 indicates that tone monitor is not available. </DD>
<DT><B>dwMonitorToneMaxNumEntries</B> </DT>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -