dwBearerModes and dwMaxRate in LINEDEVCAPS

Last reviewed: December 16, 1996
Article ID: Q108306
The information in this article applies to:
  • Microsoft Windows Telephony Software Development Kit (SDK) version
       1.0   for Windows version 3.1
    
  • Microsoft Win32 Software Development Kit (SDK) for Windows 95, Version 4.0
  • Microsoft Win32 Software Development Kit (SDK) for Windows NT, Version 4.0

A Windows Telephony application queries the service provider for device capabilities via a call to lineGetDevCaps. The dwMaxRate member of the LINEDEVCAPS structure indicates the digital data transmission rate of the bearer mode. This field is intended to indicate the maximum data rate for bearer modes that directly support DATA transmissions, such as LINEBEARERMODE_DATA or LINEBEARERMODE_ALTSPEECHDATA.

If the service provider does not support a DATA bearer mode, it can set dwMaxRate to 0 (zero) or use this field to indicate the maximum rate of data supported for other bearer modes that it does support. For example, if LINEBEARERMODE_VOICE is supported by a service provider that also supports LINEMEDIAMODE_DATAMODEM, dwMaxRate could indicate the maximum modem baud rate available for the line. However, if both DATAMODEM and DATA are available on the same line (for example, an ISDN adapter with a digital modem), then dwMaxRate would indicate the maximum LINEBEARERMODE_DATA rate.


KBCategory: kbprg
KBSubcategory: MsgTapi
Additional reference words: 1.00 4.00 TAPI


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 16, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.