RAS Function Reference

sLOCSetLocation

RAS Function Reference

This function sets the location properties.

<DllImport("SapphireRAS.dll")> _
Public Function sLOCSetLocation(ByVal lNumber As Integer, ByVal sSettings As String) As Integer
End Function

Parameters

  lNumber
    An integer number representing the location to set the details for.
  sSettings
    A string comprised of the location name, local calls, long distance, international, area code, call waiting, country code and dialing tone (0 = tone, 1 = pulse) separated by the bar (|) character.

Return Values

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