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