The RasGetSubEntryHandle function retrieves a connection handle for a specified subentry of a multilink connection.
DWORD RasGetSubEntryHandle(
HRASCONN hrasconn, | |
DWORD dwSubEntry, | |
LPHRASCONN lphrasconn | |
); |
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_HANDLE |
The hrasconn connection handle does not represent a connected phone-book entry. |
ERROR_PORT_NOT_OPEN |
The hrasconn and dwSubEntry parameters are valid, but the specified subentry is not connected. |
ERROR_NO_MORE_ITEMS |
The value specified by dwSubEntry exceeds the maximum number of subentries for the phone-book entry. |
The connection handle specified in the hrasconn parameter refers to the entire multilink connection, but the connection handle returned in the *lphrasconn parameter refers only to the subentry connection. You can use the subentry connection handle in any function that accepts an hrasconn parameter, including the RasHangUp, RasGetConnectStatus, and RasGetProjectionInfo functions. The projection information returned by RasGetProjectionInfo for a multilink entry is the same for the each of the subentry connection handles as it is for the main connection handle.
RasDial, RasGetConnectStatus, RasGetProjectionInfo, RasHangUp
file: /Techref/os/win/api/win32/func/src/f70_20.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/9 07:32,
3.14.129.106: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_20.htm"> RasGetSubEntryHandle</A> |
Did you find what you needed? |