Поделиться через


Responding to an OID_CO_TAPI_LINE_CAPS Query (NDIS 5.1)

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

In response to an OID_CO_TAPI_LINE_CAPSquery, a call manager or MCM returns a CO_TAPI_LINE_CAPS structure that contains a LINE_DEV_CAPS structure. To support voice streaming, a call manager or MCM must specify the following values in the LINE_DEV_CAPS structure:

  • ulMediaModes

    This field should contain LINEMEDIAMODE_AUTOMATEDVOICE, which maps to TAPIMEDIAMODE_AUDIO in TAPI 3.0.

  • ulAddressTypes

    This field must be filled in appropriately. For a description of valid values, see the description of dwAddressTypes in the Windows SDK. This field must not be zero.

  • ulGenerateDigitModes

    This field must be filled in with a bitwise OR of the LINEDIGITMODE_constants that specify the digit modes that can be generated on the line. For a description of the LINEDIGITMODE_constant, see the description of dwGenerateDigitModes in the Windows SDK.

  • ulMonitorDigitModes

    This field must be filled in with a bitwise OR of the LINEDIGITMODE_constants that specify the digit modes than can be detected on this line. For a description of the LINEDIGITMODE_constants, see the description of dwMonitorDigitModes in the Windows SDK.

 

 

Send comments about this topic to Microsoft