I want to detect if the user is connected to the internet on a win 9x machine.

Is there any API function to do it ?

I dont want the API function to start dialing out on its own !! I just want to detect.