sRASCurrentConn
RAS Function Reference
This function retrieves the name and handle to the current connection
on the device.
Declare Function sRASCurrentConn
Lib "SapphireRAS.dll" (ByRef
hRasConn As Long, ByVal
sConnName As String) As
Long |
Parameters
|
hRasConn |
|
|
A long variable used to store a handle to the current connection. |
|
sConnName |
|
|
A string variable used to store the name of the current connection. |
Return Values
|
Returns a number indicating success or failure where 0 is successful.
Use sRASErrMsg to get a string version
of the error message. |
|