/mcpdwAddressStates A bit array that identifies for which address status changes a message is to be sent to the application. This parameter uses the following LINEADDRESSSTATE_constant: • LINEADDRESSSTATE_NUMCALLS -The number of calls on the address changed. This change results from events such as a new incoming call, an outgoing call on the address, or a call changing its hold status. lineSetTollList The lineSetTollList function manipulates the toll list. Function Details LONG WINAPI lineSetTollList( HLINEAPP hLineApp, DWORD dwDeviceID, LPCSTR lpszAddressIn, DWORD dwTollListOption ); Parameters hLineApp The application handle that lineInitializeEx returns. If an application has not yet called the lineInitializeEx function, it can set the hLineApp parameter to NULL. dwDeviceID The device identifier for the line device upon which the call is intended to be dialed, so variations in dialing procedures on different lines can be applied to the translation process. lpszAddressIn A pointer to a null-terminated string that contains the address from which the prefix information is to be extracted for processing. Ensure that this parameter is not NULL, and also ensure that it is in the canonical address format. dwTollListOption The toll list operation to be performed. This parameter uses one and only one of the LINETOLLLISTOPTION_Constants. Return Values Returns zero if the request succeeds or a negative number if an error occurs. Possible return values follow: • LINEERR_BADDEVICEID • LINEERR_NODRIVER • LINEERR_INVALAPPHANDLE • LINEERR_NOMEM • LINEERR_INVALADDRESS Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 192 Basic TAPI Implementation lineSetTollList
