The RasGetSubEntryProperties function retrieves information about a subentry for a specified phone-book entry.
DWORD RasGetSubEntryProperties(
LPTSTR lpszPhonebook, |
// pointer to full path and filename of phone-book file |
LPTSTR lpszEntry, |
// pointer to an entry name |
DWORD dwSubEntry, |
// index of the subentry |
LPRASSUBENTRY lpRasSubEntry, |
// pointer to structure that receives information about subentry |
LPDWORD lpdwcb |
// size, in bytes, of the structure |
); |
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 lpRasSubEntry is invalid. |
ERROR_BUFFER_TOO_SMALL |
The lpRasSubEntry buffer is too small. The lpdwcb variable receives the required buffer size. |
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. |
A RAS phone-book entry can have zero or more subentries, each minimally consisting of a device and a phone number. A phone-book entry with multiple subentries can be configured to dial the first available or all subentries when the entry is dialed.
Use the RasGetEntryProperties function to retrieve a RASENTRY structure containing information about the subentries of a phone-book entry. The dwSubEntries member indicates the number of subentries and the dwDialMode member indicates the dialing configuration.
RasGetEntryProperties, RASENTRY, RasSetSubEntryProperties, RASSUBENTRY
file: /Techref/os/win/api/win32/func/src/f70_21.htm, 5KB, , updated: 2000/4/7 11:19, local time: 2024/12/23 08:48,
3.141.47.139: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://massmind.ecomorder.com/Techref/os/win/api/win32/func/src/f70_21.htm"> RasGetSubEntryProperties</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.