|
sRASDialOnly
RAS Function Reference
This function initiates a remote connection in synchronous mode.
| Declare Function sRASDial
Lib "SapphireRAS.dll" (ByVal
sEntryName As String, ByVal
sUsername As String, ByVal
sPassword As String, ByVal
sDomain As String, hRasConn As
Long, ByVal
lLicence As Long) As
Long |
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 |
| |
|
A long variable that will store a handle to the remote connection. |
| |
lLicence |
| |
|
A long 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. |
|