Software/Network

[RAS] Copying a Phone-Book Entry

charom 2007. 8. 5. 20:01

An application can use the RasGetEntryProperties or RasSetEntryProperties function to copy the configuration data to another entry. The lpszEntryName parameter can be used to change the entry.

To copy a phone-book entry to the dialing list

  1. Call RasGetEntryProperties to get current phone-book properties.
  2. Call RasSetEntryProperties to set new phone-book properties.
  3. Call RasGetEntryDialParams to retrieve current user data.
  4. Call RasSetEntryDialParams to set user password data.

    The return value is TRUE if successful and FALSE if not.