/mcpReturn Values Returns zero if request succeeds or a negative number if an error occurs. Possible return values follow: • LINEERR_INVALADDRESSID • LINEERR_OPERATIONFAILED • LINEERR_INVALLINEHANDLE • LINEERR_RESOURCEUNAVAIL • LINEERR_INVALPOINTER • LINEERR_UNINITIALIZED • LINEERR_NOMEM lineGetProviderList The lineGetProviderList function returns a list of service providers that are currently installed in the telephony system. Function Details LONG WINAPI lineGetProviderList( DWORD dwAPIVersion, LPLINEPROVIDERLIST lpProviderList ); Parameters dwAPIVersion The highest version of TAPI that the application supports (not necessarily the value that lineNegotiateAPIVersion negotiates on some particular line device). lpProviderList A pointer to a memory location where TAPI can return a LINEPROVIDERLIST structure. Prior to calling lineGetProviderList, the application should set the dwTotalSize member of this structure to indicate the amount of memory that is available to TAPI for returning information. Return Values Returns zero if request succeeds or a negative number if an error occurs. Possible return values follow: • LINEERR_INCOMPATIBLEAPIVERSION • LINEERR_NOMEM • LINEERR_INIFILECORRUPT • LINEERR_OPERATIONFAILED • LINEERR_INVALPOINTER • LINEERR_STRUCTURETOOSMALL Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 170 Basic TAPI Implementation lineGetProviderList
