Try:
msdn.microsoft.com
and search on "NetWork Monitor" or download the platform SDK and have a look at the same thing.

This should provide you with the API calls that you need.