RAS Function Reference

sPBNames

RAS Function Reference

This function returns a list of connection entries that exist in the phone book.

<DllImport("SapphireRAS.dll")> _
Public Function sPBNames(ByRef lEntries As Integer, ByVal sRASNames As String) As Integer
End Function

Parameters

  lEntries
    An integer variable used to store the number of phone book entries returned
  sRASNames
    A string variable used to store the list of entry names separated by the bar (|) character. If there are no connection entries the value will be 'No Phone Book Entries'.

Return Values

  Returns a number indicating success or failure where 0 is successful. Use sRASErrMsg to get a string version of the error message.