title: GPRS connection watchdog
body: <p>I'd like to make my WM-based device reconnect to GPRS network, if connection has been broken.</p>
  
  <p>There is a function in WinAPI</p>
  
  <pre><code>HRESULT WINAPI ConnMgrConnectionStatus(
    HANDLE  hConnection,
    DWORD   *pdwStatus
  ); 
  </code></pre>
  
  <p>but it requires previous connection handle, and in my case it can be established manually.</p>
  
  <p>Is there a way to get connection status without handles or subscribe to break event?</p>
  
  <p>I can just check google.com, but that doesn't look good.</p>
  
  <p>Regards,</p>