Reputation: 7799
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?
Upvotes: 1
Views: 878
Reputation: 7799
Modify the DCB and MaxConnectSpeed in the modem registry entry BEFORE making the RAS entry solves this issue.
Upvotes: 0
Reputation: 8065
SetCommState. Call GetCommState first so you can preserve other existing settings that you don't want to change.
Upvotes: 0