|
sRASDialOnly
RAS Function Reference
This function initiates a remote connection in synchronous mode.
<DllImport("SapphireRAS.dll")> _
Public Function sRASDial(ByVal sEntryName As String, ByVal sUsername
As String, ByVal sPassword As String, ByVal sDomain As String, ByRef
hRasConn As Integer, ByVal lLicence As Integer)
As Integer
End Function |
Parameters
| |
sEntryName |
| |
|
A string specifying the name of the phone book entry to dial. |
| |
sUsername |
| |
|
A string specifying the username for the remote connection. |
| |
sPassword |
| |
|
A string specifying the password for the remote connection. |
| |
sDomain |
| |
|
A string specifying the domain for the remote connection. |
| |
hRasConn |
| |
|
An integer variable that will store a handle to the remote connection. |
| |
lLicence |
| |
|
An integer specifying the licence number of the registered utility.
If using in demo mode, enter 1234567890. |
Return Values
| |
Returns a number indicating success or failure where 0 is successful.
Use sRASErrMsg to get a string version
of the error message. |
|