How to get active internet connection in Windows winapi32 I am trying to get information about an active internet connection.