Group: Remote Access Service (RAS) - Library: rasapi32
The RasEnumAutodialAddresses function returns a list of all addresses in the AutoDial mapping database.
List of 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
);
DECLARE INTEGER RasEnumAutodialAddresses IN rasapi32;
STRING @ lppAddresses,;
INTEGER @ lpdwcbAddresses,;
INTEGER @ lpdwcAddresses
lppAddresses [in, out] Pointer to an array of string pointers, with additional space for the storage of the strings themselves at the end of the buffer.
lpdwcbAddresses [in, out] Pointer to a variable that, on input, contains the size, in bytes, of the buffer specified by the lppAddresses parameter.
lpdwcAddresses [out] Pointer to a variable that receives the number of address strings returned in the lppAddresses buffer.
If the function succeeds, the return value is zero.
Windows NT/2000/XP: Included in Windows NT 4.0 and later.
Windows 95/98/Me: Unsupported.