How to interpret Network interface counters

I am developing a docklet for OD/RD in C++. This docklet will monitor the upload/download status of a selected network card.

Currently I have been able to retrieve the network cards installed in the system by calling GetAdaptersInfo().

My problem is with accessing HKEY_PERFORMANCE_DATA using the RegQueryValueEx() fuction. I have that the counters for Total Bytes, Bytes Sent/sec, Bytes Received/Sec & Current bandwidth return different values under XP & Vista (I had the understanding that they were of type PERF_COUNTER_COUNTER (Except for Current Bandwidth).

The problem is that in vista the numbers returned by that function does resemble the ones in performance monitor, but under XP the same code yieds numbers way larger than in vista.

I tried to find information on MSDN on these counters but could not find many documents geared towards the performance counters for the Network Interface.

Does anyone knows where I could find information on these for XP & Vista?

#507217