Gregor Brandt
Gregor Brandt

Reputation: 7799

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?

Upvotes: 1

Views: 878

Answers (2)

Gregor Brandt
Gregor Brandt

Reputation: 7799

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

Upvotes: 0

Windows programmer
Windows programmer

Reputation: 8065

SetCommState. Call GetCommState first so you can preserve other existing settings that you don't want to change.

Upvotes: 0

Related Questions