Vanara.PInvoke.TelephonyApi 4.2.0

Prefix Reserved
dotnet add package Vanara.PInvoke.TelephonyApi --version 4.2.0
                    
NuGet\Install-Package Vanara.PInvoke.TelephonyApi -Version 4.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.TelephonyApi" Version="4.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vanara.PInvoke.TelephonyApi" Version="4.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Vanara.PInvoke.TelephonyApi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vanara.PInvoke.TelephonyApi --version 4.2.0
                    
#r "nuget: Vanara.PInvoke.TelephonyApi, 4.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Vanara.PInvoke.TelephonyApi@4.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Vanara.PInvoke.TelephonyApi&version=4.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Vanara.PInvoke.TelephonyApi&version=4.2.0
                    
Install as a Cake Tool

Vanara

Vanara.PInvoke.TelephonyApi NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows Telephony (TAPI) 2.x and 3.x.

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the MyGet build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.TelephonyApi

Functions Enumerations Structures Interfaces
GetTapi16CallbackMsg internalConfig internalCreateDefLocation internalNewLocationW internalPerformance internalRemoveLocation internalRenameLocationW LAddrParamsInited lineAccept lineAddProvider lineAddToConference lineAgentSpecific lineAnswer lineBlindTransfer lineClose lineCompleteCall lineCompleteTransfer lineConfigDialog lineConfigDialogEdit lineConfigProvider lineCreateAgent lineCreateAgentSession lineDeallocateCall lineDevSpecific lineDevSpecificFeature lineDial lineDrop lineForward lineGatherDigits lineGenerateDigits lineGenerateTone lineGetAddressCaps lineGetAddressID lineGetAddressStatus lineGetAgentActivityList lineGetAgentCaps lineGetAgentGroupList lineGetAgentInfo lineGetAgentSessionInfo lineGetAgentSessionList lineGetAgentStatus lineGetAppPriority lineGetCallInfo lineGetCallStatus lineGetConfRelatedCalls lineGetCountry lineGetDevCaps lineGetDevConfig lineGetGroupList lineGetIcon lineGetID lineGetLineDevStatus lineGetMessage lineGetNewCalls lineGetNumRings lineGetProviderList lineGetProxyStatus lineGetQueueInfo lineGetQueueList lineGetRequest lineGetStatusMessages lineGetTranslateCaps lineHandoff lineHold lineInitialize lineInitializeEx lineMakeCall lineMonitorDigits lineMonitorMedia lineMonitorTones lineNegotiateAPIVersion lineNegotiateExtVersion lineOpen linePark linePickup linePrepareAddToConference lineProxyMessage lineProxyResponse lineRedirect lineRegisterRequestRecipient lineReleaseUserUserInfo lineRemoveFromConference lineRemoveProvider lineSecureCall lineSendUserUserInfo lineSetAgentActivity lineSetAgentGroup lineSetAgentMeasurementPeriod lineSetAgentSessionState lineSetAgentState lineSetAgentStateEx lineSetAppPriority lineSetAppSpecific lineSetCallData lineSetCallParams lineSetCallPrivilege lineSetCallQualityOfService lineSetCallTreatment lineSetCurrentLocation lineSetDevConfig lineSetLineDevStatus lineSetMediaControl lineSetMediaMode lineSetNumRings lineSetQueueMeasurementPeriod lineSetStatusMessages lineSetTerminal lineSetTollList lineSetupConference lineSetupTransfer lineShutdown lineSwapHold lineTranslateAddress lineTranslateDialog lineUncompleteCall lineUnhold lineUnpark LocWizardDlgProc LOpenDialAsst MMCAddProvider MMCConfigProvider MMCGetAvailableProviders MMCGetDeviceFlags MMCGetLineInfo MMCGetLineStatus MMCGetPhoneInfo MMCGetPhoneStatus MMCGetProviderList MMCGetServerConfig MMCInitialize MMCRemoveProvider MMCSetLineInfo MMCSetPhoneInfo MMCSetServerConfig MMCShutdown NonAsyncEventThread phoneClose phoneConfigDialog phoneDevSpecific phoneGetButtonInfo phoneGetData phoneGetDevCaps phoneGetDisplay phoneGetGain phoneGetHookSwitch phoneGetIcon phoneGetID phoneGetLamp phoneGetMessage phoneGetRing phoneGetStatus phoneGetStatusMessages phoneGetVolume phoneInitialize phoneInitializeEx phoneNegotiateAPIVersion phoneNegotiateExtVersion phoneOpen phoneSetButtonInfo phoneSetData phoneSetDisplay phoneSetGain phoneSetHookSwitch phoneSetLamp phoneSetRing phoneSetStatusMessages phoneSetVolume phoneShutdown tapiGetLocationInfo tapiRequestDrop tapiRequestMakeCall tapiRequestMediaCall TAPIWndProc TUISPIDLLCallback LINEFORWARDMODE LINELOCATIONOPTION LINETRANSLATEOPTION LINETRANSLATERESULT TAPI_DIGITMODE ACDGROUP_EVENT ACDQUEUE_EVENT ADDRESS_CAPABILITY ADDRESS_CAPABILITY_STRING ADDRESS_EVENT ADDRESS_STATE AGENT_EVENT AGENT_SESSION_EVENT AGENT_SESSION_STATE AGENT_STATE AGENTHANDLER_EVENT CALL_MEDIA_EVENT CALL_MEDIA_EVENT_CAUSE CALL_NOTIFICATION_EVENT CALL_PRIVILEGE CALL_STATE CALL_STATE_EVENT_CAUSE CALLHUB_EVENT CALLHUB_STATE CALLINFO_BUFFER CALLINFO_LONG CALLINFO_STRING CALLINFOCHANGE_CAUSE DISCONNECT_CODE FINISH_MODE FT_STATE_EVENT_CAUSE FULLDUPLEX_SUPPORT LINEADDRESSTYPE LINEDIGITMODE PHONE_BUTTON_FUNCTION PHONE_BUTTON_MODE PHONE_BUTTON_STATE PHONE_EVENT PHONE_HOOK_SWITCH_DEVICE PHONE_HOOK_SWITCH_STATE PHONE_LAMP_MODE PHONE_PRIVILEGE PHONE_TONE PHONECAPS_BUFFER PHONECAPS_LONG PHONECAPS_STRING QOS_EVENT QOS_SERVICE_LEVEL TAPI_EVENT TAPI_GATHERTERM TAPI_TONEMODE TAPIMEDIATYPE TAPIOBJECT_EVENT TERMINAL_DIRECTION TERMINAL_MEDIA_STATE TERMINAL_STATE TERMINAL_TYPE TAPI_CUSTOMTONE TAPI_DETECTTONE AM_MEDIA_TYPE IEnumACDGroup IEnumAddress IEnumAgentHandler IEnumAgentSession IEnumBstr IEnumCall IEnumCallHub IEnumCallingCard IEnumLocation IEnumPhone IEnumPluggableSuperclassInfo IEnumPluggableTerminalClassInfo IEnumQueue IEnumStream IEnumSubStream IEnumTerminal IEnumTerminalClass IEnumUnknown ITACDGroup ITACDGroupEvent ITAddress ITAddress2 ITAddressCapabilities ITAddressDeviceSpecificEvent ITAddressEvent ITAddressTranslation ITAddressTranslationInfo ITAgent ITAgentEvent ITAgentHandler ITAgentHandlerEvent ITAgentSession ITAgentSessionEvent ITASRTerminalEvent ITAutomatedPhoneControl ITBasicAudioTerminal ITBasicCallControl ITBasicCallControl2 ITCallHub ITCallHubEvent ITCallInfo ITCallInfo2 ITCallInfoChangeEvent ITCallingCard ITCallMediaEvent ITCallNotificationEvent ITCallStateEvent ITCollection ITCollection2 ITCustomTone ITDetectTone ITDigitDetectionEvent ITDigitGenerationEvent ITDigitsGatheredEvent ITDispatchMapper ITFileTerminalEvent ITFileTrack ITForwardInformation ITForwardInformation2 ITLegacyAddressMediaControl ITLegacyAddressMediaControl2 ITLegacyCallMediaControl ITLegacyCallMediaControl2 ITLegacyWaveSupport ITLocationInfo ITMediaControl ITMediaPlayback ITMediaRecord ITMediaSupport ITMultiTrackTerminal ITPhone ITPhoneDeviceSpecificEvent ITPhoneEvent ITPluggableTerminalClassInfo ITPluggableTerminalSuperclassInfo ITPrivateEvent ITQOSEvent ITQueue ITQueueEvent ITRequest ITRequestEvent ITScriptableAudioFormat ITStaticAudioTerminal ITStream ITStreamControl ITSubStream ITSubStreamControl ITTAPI ITTAPI2 ITTAPICallCenter ITTAPIEventNotification ITTAPIObjectEvent ITTAPIObjectEvent2 ITTerminal ITTerminalSupport ITTerminalSupport2 ITToneDetectionEvent ITToneTerminalEvent ITTTSTerminalEvent
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net9.0-windows7.0 is compatible.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Vanara.PInvoke.TelephonyApi:

Package Downloads
Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.2.0 29 8/25/2025

Currently implements:

Functions
GetTapi16CallbackMsg internalConfig internalCreateDefLocation internalNewLocationW internalPerformance internalRemoveLocation internalRenameLocationW LAddrParamsInited lineAccept lineAddProvider lineAddToConference lineAgentSpecific lineAnswer lineBlindTransfer lineClose lineCompleteCall lineCompleteTransfer lineConfigDialog lineConfigDialogEdit lineConfigProvider lineCreateAgent lineCreateAgentSession lineDeallocateCall lineDevSpecific lineDevSpecificFeature lineDial lineDrop lineForward lineGatherDigits lineGenerateDigits lineGenerateTone lineGetAddressCaps lineGetAddressID lineGetAddressStatus lineGetAgentActivityList lineGetAgentCaps lineGetAgentGroupList lineGetAgentInfo lineGetAgentSessionInfo lineGetAgentSessionList lineGetAgentStatus lineGetAppPriority lineGetCallInfo lineGetCallStatus lineGetConfRelatedCalls lineGetCountry lineGetDevCaps lineGetDevConfig lineGetGroupList lineGetIcon lineGetID lineGetLineDevStatus lineGetMessage lineGetNewCalls lineGetNumRings lineGetProviderList lineGetProxyStatus lineGetQueueInfo lineGetQueueList lineGetRequest lineGetStatusMessages lineGetTranslateCaps lineHandoff lineHold lineInitialize lineInitializeEx lineMakeCall lineMonitorDigits lineMonitorMedia lineMonitorTones lineNegotiateAPIVersion lineNegotiateExtVersion lineOpen linePark linePickup linePrepareAddToConference lineProxyMessage lineProxyResponse lineRedirect lineRegisterRequestRecipient lineReleaseUserUserInfo lineRemoveFromConference lineRemoveProvider lineSecureCall lineSendUserUserInfo lineSetAgentActivity lineSetAgentGroup lineSetAgentMeasurementPeriod lineSetAgentSessionState lineSetAgentState lineSetAgentStateEx lineSetAppPriority lineSetAppSpecific lineSetCallData lineSetCallParams lineSetCallPrivilege lineSetCallQualityOfService lineSetCallTreatment lineSetCurrentLocation lineSetDevConfig lineSetLineDevStatus lineSetMediaControl lineSetMediaMode lineSetNumRings lineSetQueueMeasurementPeriod lineSetStatusMessages lineSetTerminal lineSetTollList lineSetupConference lineSetupTransfer lineShutdown lineSwapHold lineTranslateAddress lineTranslateDialog lineUncompleteCall lineUnhold lineUnpark LocWizardDlgProc LOpenDialAsst MMCAddProvider MMCConfigProvider MMCGetAvailableProviders MMCGetDeviceFlags MMCGetLineInfo MMCGetLineStatus MMCGetPhoneInfo MMCGetPhoneStatus MMCGetProviderList MMCGetServerConfig MMCInitialize MMCRemoveProvider MMCSetLineInfo MMCSetPhoneInfo MMCSetServerConfig MMCShutdown NonAsyncEventThread phoneClose phoneConfigDialog phoneDevSpecific phoneGetButtonInfo phoneGetData phoneGetDevCaps phoneGetDisplay phoneGetGain phoneGetHookSwitch phoneGetIcon phoneGetID phoneGetLamp phoneGetMessage phoneGetRing phoneGetStatus phoneGetStatusMessages phoneGetVolume phoneInitialize phoneInitializeEx phoneNegotiateAPIVersion phoneNegotiateExtVersion phoneOpen phoneSetButtonInfo phoneSetData phoneSetDisplay phoneSetGain phoneSetHookSwitch phoneSetLamp phoneSetRing phoneSetStatusMessages phoneSetVolume phoneShutdown tapiGetLocationInfo tapiRequestDrop tapiRequestMakeCall tapiRequestMediaCall TAPIWndProc TUISPIDLLCallback

Structures
AM_MEDIA_TYPE TAPI_CUSTOMTONE TAPI_DETECTTONE

Interfaces
IEnumACDGroup IEnumAddress IEnumAgentHandler IEnumAgentSession IEnumBstr IEnumCall IEnumCallHub IEnumCallingCard IEnumLocation IEnumPhone IEnumPluggableSuperclassInfo IEnumPluggableTerminalClassInfo IEnumQueue IEnumStream IEnumSubStream IEnumTerminal IEnumTerminalClass IEnumUnknown ITACDGroup ITACDGroupEvent ITAddress ITAddress2 ITAddressCapabilities ITAddressDeviceSpecificEvent ITAddressEvent ITAddressTranslation ITAddressTranslationInfo ITAgent ITAgentEvent ITAgentHandler ITAgentHandlerEvent ITAgentSession ITAgentSessionEvent ITASRTerminalEvent ITAutomatedPhoneControl ITBasicAudioTerminal ITBasicCallControl ITBasicCallControl2 ITCallHub ITCallHubEvent ITCallInfo ITCallInfo2 ITCallInfoChangeEvent ITCallingCard ITCallMediaEvent ITCallNotificationEvent ITCallStateEvent ITCollection ITCollection2 ITCustomTone ITDetectTone ITDigitDetectionEvent ITDigitGenerationEvent ITDigitsGatheredEvent ITDispatchMapper ITFileTerminalEvent ITFileTrack ITForwardInformation ITForwardInformation2 ITLegacyAddressMediaControl ITLegacyAddressMediaControl2 ITLegacyCallMediaControl ITLegacyCallMediaControl2 ITLegacyWaveSupport ITLocationInfo ITMediaControl ITMediaPlayback ITMediaRecord ITMediaSupport ITMultiTrackTerminal ITPhone ITPhoneDeviceSpecificEvent ITPhoneEvent ITPluggableTerminalClassInfo ITPluggableTerminalSuperclassInfo ITPrivateEvent ITQOSEvent ITQueue ITQueueEvent ITRequest ITRequestEvent ITScriptableAudioFormat ITStaticAudioTerminal ITStream ITStreamControl ITSubStream ITSubStreamControl ITTAPI ITTAPI2 ITTAPICallCenter ITTAPIEventNotification ITTAPIObjectEvent ITTAPIObjectEvent2 ITTerminal ITTerminalSupport ITTerminalSupport2 ITToneDetectionEvent ITToneTerminalEvent ITTTSTerminalEvent