Click here to Skip to main content
13,046,184 members (57,899 online)

C / C++ / MFC

 
Questionhow can i set modem speed when i create rasdial entry. Pin
dolpari7013-Nov-12 22:03
memberdolpari7013-Nov-12 22:03 
Hi All.
I need to your help in blow questions..

I have to use internet over GPRS modem in windows xp and windows 7, so i have created a dial-up connection using Rasdial API

But i get some problems.
that is, when i creat Ras entry by RasSetEntryProperties api, the entry come up with the default maximum speed of 115200 (but i must use other baud rate, for example, 7200000) .

I can edit this manually in the modem settings, but dose anyone know the API's i can use to set it in code?

I don't want to modify registry about modem.

I have looked through the MDSN, but RasSetEntryProperties function dosen't do it, and it says, lpbDeviceInfo param is unused in Windows XP.

Are there any other solutions except modify registry before making ras entry?

Sorry for my bad english.

Regards.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 23 Jul 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid