The RasEnumAutodialAddresses function returns a list of all addresses in the AutoDial mapping database.
DWORD RasEnumAutodialAddresses (
LPTSTR *lppAddresses, |
// pointer to buffer that receives network address strings |
LPDWORD lpdwcbAddresses, |
// pointer to size, in bytes, of the buffer |
LPDWORD lpdwcAddresses |
// pointer to number of strings returned |
); |
If lppAddresses is NULL, RasEnumAutodialAddresses sets the lpdwcbAddresses
and lpdwcAddresses parameters to indicate the required size, in bytes,
and the number of address entries in the database.
If the function succeeds, the return value is zero.
If the function fails, the return value is the following error code.
Value |
Meaning |
ERROR_INVALID_PARAMETER |
NULL was passed for the lpdwcbAddresses or lpdwcAddresses parameter. |
RASAUTODIALENTRY, RasGetAutodialAddress, RasSetAutodialAddress