Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.66 KB

RasEnumAutodialAddresses.md

File metadata and controls

61 lines (42 loc) · 1.66 KB

Home

Function name : RasEnumAutodialAddresses

Group: Remote Access Service (RAS) - Library: rasapi32


The RasEnumAutodialAddresses function returns a list of all addresses in the AutoDial mapping database.


Code examples:

List of addresses in the AutoDial mapping database

Declaration:

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
);  

FoxPro declaration:

DECLARE INTEGER RasEnumAutodialAddresses IN rasapi32;
	STRING  @ lppAddresses,;
	INTEGER @ lpdwcbAddresses,;
	INTEGER @ lpdwcAddresses
  

Parameters:

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.


Return value:

If the function succeeds, the return value is zero.


Comments:

Windows NT/2000/XP: Included in Windows NT 4.0 and later.
Windows 95/98/Me: Unsupported.