Dial-Up connection issues with PhoneBook/ .pbk file
===

I am automating the dial-up connection creation process using C language, to communicate with my embedded device.
    
As part of the dial-up process, my code writes the necessary data in pbk file(like Modem info,etc).And I am able to establish the connection programmitically along with my device connected, which means the modem is present in the device.
    
Think that,My pc has many modems(3G Data Card Modems) already installed (MyComputer->Properties->DeviceManager->Modems) apart from my device modem(Embedded Device) for which i am automating the dial-up connection.
    
Using these modems, dial-up connections were already created in my pc. So, now i have around 5 dial-up connection entries in "Network Connections" in which only 1 is mine.
    
Certainly, all the dial-up connections are assoicated with the USB modems.
    
Scenario 1:
    
Device is connected physically, so my modem is present in the computer. Now,there is no problem and connection creation process is success.
           
Scenario 2:
    
Device is not connected and no modem will be found in the computers.Now, if i try to click on the Dial-up connection entries under "Network Connections" , my pbk is getting updated automatically and my customized connection properties are changed. My modem name, port no and baud rate and many parameters are changed to some other modem settings and also it happens for all other 4 dial-up entries.
    
How the pbk gets updated automatically only when i click on the dial-up connection when the corresponding device or modem is not connected?

Ex: Think that I have already created the Dial-up connection entries for each 3g USB modem (Vodafone , Verizon and my embedded Device).So,the corresponding entries are well placed in pbk file.I am connecting Vodafone 3G USB device physically and when i dial from "Netork Settings",the dial-up connection is working fine and no changes in the pbk file.Same behavior for Verizon and my embedded device , only when the corresponding 3G USB device is connected with the laptop.
Now, i am dialling and trying to establish the dial-up connection for the Vodafone without the 3G USB modem connected. At this time, the pbk is getting updated automatically. Verizon and My embedded device PBK parameters are changed like vodafone parameters as its a first entry in pbk file.

[PBK After Creating a Dial-Up connection with my device][1]

[PBK After Automatically getting modified][2]
            
How does pbk file gets updated when i dial a Dial-Up connection without the associated device/modem?
            


  [1]: http://pastebin.com/8xJTmmt1
  [2]: http://pastebin.com/zm00bRZ8