The RasGetAutodialAddress function retrieves information about all the AutoDial entries associated with a network address in the AutoDial mapping database.
DWORD RasGetAutodialAddress(
LPTSTR lpszAddress, |
// pointer to a network address string |
LPDWORD lpdwReserved, |
// reserved; must be NULL |
LPRASAUTODIALENTRY lpAutoDialEntries, |
// pointer to buffer for AutoDial entry data |
LPDWORD lpdwcbAutoDialEntries, |
// pointer to size, in bytes, of buffer |
LPDWORD lpdwcAutoDialEntries |
// pointer to number of entries returned |
); |
If lpAutoDialEntries is NULL, RasGetAutodialAddress sets the lpdwcbAutoDialEntries
and lpdwcAutoDialEntries parameters to indicate the required buffer
size, in bytes, and the number of AutoDial entries.
If the function succeeds, the return value is zero.
If the function fails, the return value is one of the following error codes.
Value |
Meaning |
ERROR_XXX_NOT_FOUND |
The address was not found in the mapping database. |
ERROR_INVALID_SIZE |
The dwSize member of the RASAUTODIALENTRY structure is an invalid value. |
ERROR_INVALID_PARAMETER |
The lpszAddress, lpdwcbAutoDialEntries, or lpdwcAutoDialEntries parameter was NULL. |
RASAUTODIALENTRY, RasEnumAutodialAddresses, RasSetAutodialAddress
file: /Techref/os/win/api/win32/func/src/f70_10.htm, 5KB, , updated: 2000/4/7 11:19, local time: 2024/11/10 04:47,
3.142.35.54:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/os/win/api/win32/func/src/f70_10.htm"> RasGetAutodialAddress</A> |
Did you find what you needed? |