Search code examples
winapirasbaud-rate

setting baud rate on dial-up connection win32


I am creating dial-up connection in code in Windows XP and Windows 7 (RasSetEntryProperties). The entries come up with the default baud rate of 19200.

Using Win32 how do I change the baud rate in both Windows XP and Windows 7?


Solution

  • Modify the DCB and MaxConnectSpeed in the modem registry entry BEFORE making the RAS entry solves this issue.