Providing Counter Data Using a Performance DLL
A service, driver, or application that wants to provide counter data can write a performance DLL to provide the data. When a consumer queries performance data, the system calls the provider to collect the data. For details on writing the performance DLL, see Creating a Performance Extension DLL.
The system uses the registry to determine which provider to call. For information on registering your provider and the counters that it supports, see Adding Performance Counters.
You can use a performance DLL to provide counter data for all supported operating systems.