RAS Function Reference

sRASHangUp

RAS Function Reference

This function disconnects a connection session.

Declare Function sRASHangUp Lib "SapphireRAS.dll" (ByVal hRasConn As Long) As Long

Parameters

  hRasConn
    A long 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.