The RasGetEntryProperties function retrieves the properties of a phone-book entry.
DWORD RasGetEntryProperties(
LPTSTR lpszPhonebook, |
// pointer to full path and filename of phone-book file |
LPTSTR lpszEntry, |
// pointer to an entry name |
LPRASENTRY lpRasEntry, |
// buffer that receives entry information |
LPDWORD lpdwEntryInfoSize, |
// size, in bytes, of the lpRasEntry buffer |
LPBYTE lpbDeviceInfo, |
// buffer that receives device-specific configuration information |
LPDWORD lpdwDeviceInfoSize |
// size, in bytes, of the lpbDeviceInfo buffer |
); |
To determine the required buffer size, call RasGetEntryProperties with lpRasEntry
set to NULL and *lpdwEntryInfoSize set to zero. The function returns
the required buffer size in *lpdwEntryInfoSize.
To determine the required buffer size, call RasGetEntryProperties with lpbDeviceInfo set to NULL and *lpdwDeviceInfoSize set to zero. The function returns the required buffer size in *lpdwDeviceInfoSize.
If the function succeeds, the return value is zero.
If the function fails, the return value can be one of the following error codes.
Value |
Meaning |
ERROR_INVALID_PARAMETER |
The function was called with an invalid parameter. |
ERROR_BUFFER_INVALID |
The address or buffer specified by lpRasEntry is invalid. |
ERROR_BUFFER_TOO_SMALL |
The buffer size indicated in lpdwEntryInfoSize is too small. |
ERROR_CANNOT_OPEN_PHONEBOOK |
The phone book is corrupted or is missing components. |
ERROR_CANNOT_FIND_PHONEBOOK_ENTRY |
The phone-book entry does not exist. |
RASENTRY, RasSetEntryProperties
file: /Techref/os/win/api/win32/func/src/f70_17.htm, 6KB, , updated: 2000/4/7 11:19, local time: 2024/12/7 15:42,
18.97.9.174:LOG IN
|
©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://www.piclist.com/techref/os/win/api/win32/func/src/f70_17.htm"> RasGetEntryProperties</A> |
Did you find what you needed? |
PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to www.piclist.com! |
.