lineDevCaps

Last Updated : Sep 06, 2015 |

The lineDevCaps function returns the structure in the following table.

Not all members of this structure are listed.

For more information on the lineDevCaps, see the Microsoft TAPI documentation.

Member

Description/Value

dwProviderInfoSize

Indicates the provider name, such as the name of the TSP.

dwSwitchInfoSize

0

dwPermanentLineID

Unique identifier assigned by Windows.

dwLineNameSize

Indicates the line name.

dwStringFormat

Returns the string format StringFormat_ASCII.

dwAddressModes

Returns the address mode lineAddressMode_AddressID.

dwNumAddresses

1

dwBearerModes

Returns the following bearer modes:

  • lineBearerMode_Voice

  • lineBearerMode_Speech

dwMaxRate

0

dwMediaModes

Returns the media mode lineMediaMode_InteractiveVoice.

dwGenerateToneModes

Returns the generate tone mode lineToneMode_Beep.

dwGenerateToneMaxNumFreq

0

dwMonitorToneMaxNumFreq

1

dwMonitorToneMaxNumEntries

1

dwGatherDigitsMinTimeout

0

dwGatherDigitsMaxTimeout

0

dwMedCtlDigitMaxListSize

0

dwMedCtlMediaMaxListSize

0

dwMedCtlToneMaxListSize

0

dwMedCtlCallStateMaxListSize

0

dwDevCapFlags

Returns the following dev cap flags:

  • lineDevCapFlags_CloseDrop

  • lineDevCapFlags_DialBilling

  • lineDevCapFlags_DialQuiet

  • lineDevCapFlags_DialDualTone

dwMaxNumActiveCalls

9

dwAnswerMode

Returns the answer mode lineAnswerMode_None.

dwRingModes

1

dwLineStates

Returns the following line state:

  • lineDevState_Ringing

  • lineDevState_Connected

  • lineDevState_Disconnected

  • lineDevState_InService

  • lineDevState_OutOfService

  • lineDevState_Open

  • lineDevState_Close

  • lineDevState_ReInIt

  • lineDevState_TranslateChnge

  • lineDevState_Removed

dwUUIAcceptSize

0

dwUUIAnswerSize

100

dwUUIMakeCallSize

100

dwUUIDropSize

100

dwUUISendUserUserInfoSize

100

dwUUICallInfoSize

User to User call information size: 100

dwNumTerminals

0

dwTerminalCapsSize

0

dwTerminalCapsOffset

0

dwTerminalTextEntrySize

0

dwTerminalTextSize

0

dwTerminalTextOffset

0

dwDevSpecificSize

0

dwDevSpecificOffset

0

dwLineFeatures

Returns the line feature lineFeature_MakeCall.

dwSettableDevStatus

0

dwDeviceClassesSize

tapi\line

PermanentLineGuide

Only relevant if using TAPI Version 2.2 or higher.

dwAddressTypes

Only relevant if using TAPI Version 3.0 or higher.

ProtocolGuide

Only relevant if using TAPI Version 3.0 or higher.

dwAvailableTracking

Only relevant if using TAPI Version 3.0 or higher.