please dont rip this site Prev Next

RasGetSubEntryHandle info  Overview  Group

The RasGetSubEntryHandle function retrieves a connection handle for a specified subentry of a multilink connection.

DWORD RasGetSubEntryHandle(

    HRASCONN hrasconn,

    DWORD dwSubEntry,

    LPHRASCONN lphrasconn

   );

Parameters

hrasconn
Specifies an HRASCONN connection handle returned by the RasDial function for a multilink phone-book entry.
dwSubEntry
Specifies a valid subentry index for the phone-book entry.
lphrasconn
Pointer to an HRASCONN variable that receives a connection handle that represents the subentry connection.

Return Values

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.

Remarks

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.

See Also

RasDial, RasGetConnectStatus, RasGetProjectionInfo, RasHangUp

See also:


file: /Techref/os/win/api/win32/func/src/f70_20.htm, 3KB, , updated: 2000/4/7 12:19, local time: 2022/5/25 01:31,
TOP NEW HELP FIND: 
3.238.72.122:LOG IN

 ©2022 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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/os/win/api/win32/func/src/f70_20.htm"> RasGetSubEntryHandle</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2022 contributors:
o List host: MIT, Site host massmind.org, Top posters @20220525
* 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 www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .