I mean all webpages that I visit. Like getting all processes throught user32 dll.
closed as not a real question by soandos, Mokubai♦, Ellesa, 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, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.
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.