RAS Function Reference

sPBNames

RAS Function Reference

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

Declare Function sPBNames Lib "SapphireRAS.dll" (ByRef lEntries As Long, ByVal sRASNames As String) As Long

Parameters

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