function manipulates the toll list.
| HLINEAPP hLineApp,
| DWORD dwDeviceID,
| LPCSTR lpszAddressIn,
| DWORD dwTollListOption
The application handle returned by lineInitializeEx
. If an application has not yet called the lineInitializeEx
function, it can set the hLineApp
parameter to NULL.
The device ID for the line device upon which the call is intended to be
dialed, so that variations in dialing procedures on different lines can be applied to
the translation process.
A pointer to a NULL-terminated ASCII string containing the address from which
the prefix information is to be extracted for processing. This parameter must
not be NULL, and it must be in the canonical address format.
The toll list operation to be performed. Only a single flag can be set. This
parameter uses the following LINETOLLLISTOPTION_ constants:
Causes the prefix contained within the string pointed to by lpszAddressIn
to be added to the toll list for the current location.
Causes the prefix to be removed from the toll list of the current location. If
toll lists are not used or relevant to the country indicated in the current
location, the operation has no affect.
Returns zero if the request is successful or a negative error number if an
error has occurred. Possible return values are:
LINEERR_BADDEVICEID, LINEERR_NODRIVER, LINEERR_INVALAPPHANDLE, LINEERR_NOMEM,
LINEERR_INVALADDRESS, LINEERR_OPERATIONFAILED, LINEERR_INVALPARAM,
LINEERR_RESOURCEUNAVAIL, LINEERR_INIFILECORRUPT, LINEERR_UNINITIALIZED,
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages