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/11/4 11:19,
3.136.17.147: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://ecomorder.com/Techref/os/win/api/win32/func/src/f70_17.htm"> RasGetEntryProperties</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.