Creating the Application's Performance Key

An application that supports performance counters must have a Performance key under the Services key. The following example shows the values you should include for this key.

HKEY_LOCAL_MACHINE
    \SYSTEM
        \CurrentControlSet
            \Services
                \Application_Name
                    \Performance
                        Library = DLL_Name
                        Open = Open_Function_Name
                        Collect = Collect_Function_Name
                        Close = Close_Function_Name
 

The Library value provides the name of the performance DLL, and the Open, Collect, and Close values provide the names of the functions exported from the performance DLL. When a performance monitoring application requests performance data, the system uses these values to determine which performance DLLs to load and which DLL functions to call.