RAS Function Reference

sPBSetDefault

RAS Function Reference

This function ets the specified phone book entry as default

<DllImport("SapphireRAS.dll")> _
Public Function sPBSetDefault(ByVal sEntryName As String, ByVal lLicence As Integer) As Integer
End Function

Parameters

  sEntryName
    A string specifying the name of the phone book entry to set as default.
  lLicence
    An integer specifying the licence number of the registered utility. If using in demo mode, enter 1234567890.

Return Values

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