The RasRenameEntry function changes the name of an entry in a phone book.
DWORD RasRenameEntry(
LPTSTR lpszPhonebook, |
// pointer to full path and filename of phone-book file |
LPTSTR lpszOldEntry, |
// pointer to the old entry name |
LPTSTR lpszNewEntry |
// pointer to the new entry name |
); |
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_INVALID_NAME |
The lpszNewEntry name is invalid. |
ERROR_ALREADY_EXISTS |
An entry with the lpszNewEntry name already exists. |
ERROR_CANNOT_FIND_PHONEBOOK_ENTRY |
The phone-book entry does not exist. |
file: /Techref/os/win/api/win32/func/src/f70_26.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/10 09:38,
3.15.22.24: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_26.htm"> RasRenameEntry</A> |
Did you find what you needed? |