RAS Function Reference

sPBDevices

RAS Function Reference

This function returns a list of devices.

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

Parameters

  lEntries
    An integer variable used to store the number of devices entries returned
  sDevices
    A string variable used to store the list of devices separated by the bar (|) character. If there are no devices the value will be 'No Device Names'.

Return Values

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