Solved

RAS conection creation using a given modem in win95

Posted on 1998-12-10
1
330 Views
Last Modified: 2010-04-15
My program must develop the following task: I have two modem controlers in my pc. The program must ask me for one, an then, knowing this, construct (create from zero) a new conection in RAS, to a predeterminated provider (known by the program itself). But this conection must be configurated to use the chosen modem. No more than it, only to create a conection using a previously given modem. Must be some function in an API that allows this task. I know of one for creating conections (as well as some function for modifiying parameters in a already created conection, as for instance, the software compression), but I am not able to find one that besides asks me (my program) for the precise modem I want to use. This is what I really need: the function and API for creating a conection such that asks me for the modem device I want to use.

Thanks in advance

Ignacio Juarrero
0
Comment
Question by:juarrero
1 Comment
 
LVL 2

Accepted Solution

by:
hougaard earned 400 total points
ID: 1255026
The function you are looking for is RasSetEntryProperties  ... The parameter lpbDeviceInfo .. This is a pointer to a buffer that contains the device information. But the actual device is not part of RAS that is part of TAPI so take a look at the TAPI documentation and you should be able to go from here.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question