Getting Counter Information

To retrieve information about a counter, such as the counter type, help text, and path, call the PdhGetCounterInfo function. The function returns the counter information as a PDH_COUNTER_INFO structure.