The RasSetEntryProperties function changes the connection information for an entry in the phone book or creates a new phone-book entry.
DWORD RasSetEntryProperties(
LPTSTR lpszPhonebook, |
// pointer to full path and filename of phone-book file |
LPTSTR lpszEntry, |
// pointer to an entry name |
LPRASENTRY lpRasEntry, |
// buffer that contains entry information |
DWORD dwEntryInfoSize, |
// size, in bytes, of the lpRasEntry buffer |
LPBYTE lpbDeviceInfo, |
// buffer that contains device-specific configuration information |
DWORD dwDeviceInfoSize |
// size, in bytes, of the lpbDeviceInfo buffer |
); |
If the entry name matches an existing entry, RasSetEntryProperties modifies the properties of that entry.
If the entry name does not match an existing entry, RasSetEntryProperties creates
a new phone-book entry. For new entries, call the RasValidateEntryName
function to validate the entry name before calling RasSetEntryProperties.
The structure might be followed by an array of null-terminated alternate phone
number strings. The last string is terminated by two consecutive null
characters. The dwAlternateOffset member of the RASENTRY
structure contains the offset to the first string.
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_BUFFER_INVALID |
The address or buffer specified by lpRasEntry is invalid. |
ERROR_CANNOT_OPEN_PHONEBOOK |
The phone book is corrupted or missing components. |
RASENTRY, RasCreatePhonebookEntry, RasGetEntryProperties, RasValidateEntryName
file: /Techref/os/win/api/win32/func/src/f71_1.htm, 5KB, , updated: 2000/4/7 12:19, local time: 2024/9/2 14:01,
18.119.143.253: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://piclist.com/techref/os/win/api/win32/func/src/f71_1.htm"> RasSetEntryProperties</A> |
Did you find what you needed? |
![]() 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 piclist.com! |
.