how to detect datacard connect and disconnect event on win32

Posted by Vinayaka Karjigi on Stack Overflow See other posts from Stack Overflow or by Vinayaka Karjigi
Published on 2009-06-29T06:07:20Z Indexed on 2010/04/02 18:03 UTC
Read the original article Hit count: 121

Filed under:
|
|
|
|

Hi All,

I have a data card, as soon as i insert the data card, i am getting the events by using wm_device_change event.

But I also want to get event, when my data connect actually connects to out side world.

I mean to say, as soon as we click on connect/disconnect button of data card,i want to get the event.

exactly speaking wanted to know, when connection is established and disconnected.

data card is vodaphone data card and i am trying to browse using that data card. what ever is the SDK, somewhere the OS should get the event of connection and disconnection to network is there any way to access that event which OS is getting. as i can see in notificaiton the changes of vodaphone connection and LAN connection

data card is a USB device having SIM within it, and can be used to access internet through GPRS.

can i know how to do this in win32 c/c++ programe.

with regards Vinayaka Karjigi

© Stack Overflow or respective owner

Related posts about winapi

Related posts about c++