RAS Function Reference

sRASHangUp

RAS Function Reference

This function disconnects a connection session.

<DllImport("SapphireRAS.dll")> _
Public Function sRASHangUp(ByVal hRasConn As Integer) As Integer
End Function

Parameters

  hRasConn
    An integer variable referencing the handle to the remote 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.