RAS Function Reference

sPBDevices

RAS Function Reference

This function returns a list of devices.

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

Parameters

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