How does windows determine "no internet access"? [duplicate]

I've seen this several times (mainly in VMs): although the machine is connected to the local network the OS (at the moment I am talking about Win 8.1 as guest in Virtualbox) notifies me:

Network: No internet access

I just want to know how Windows draws that conclusion.


Solution 1:

This article of SuperUser blog talks to the details how Windows does it.