RAS Function Reference

sPBRename

RAS Function Reference

This function renames a connection entry.

Declare Function sPBRename Lib "SapphireRAS.dll" (ByVal sOldEntryName As String, ByVal sNewEntryName As String, ByVal lLicence As Long) As Long

Parameters

  sOldEntryName
    A string specifying the name of the phone book entry to rename.
  sNewEntryName
    A string specifying the name to rename the connection entry to.
  lLicence
    A long 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.