I mean all webpages that I visit. Like getting all processes throught user32 dll.
closed as not a real question by soandos, Mokubai, Kaze, Simon Sheehan, slhck♦ Jul 17 '12 at 3:05
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
There is no single way to retrieve a web site in Windows. So there is no single point at which you could grab that information.
The only common denominator that everything has (that does IP communication) is, most likely, the Windows Socket Library.
It might be easier to implement your own DNS server (or just a DNS proxy) and capture the DNS requests.