Platform SDK: Performance Monitoring |
The performance key created when the performance DLL was installed can be deleted either by using the Regedt32.exe utility or by calling RegDeleteKey. You must run the unlodctr utility to remove the counter names and descriptions from the registry before deleting the performance key. Refer to Removing Counter Names and Descriptions from the Registry for information on how to do this.
To delete the performance key with Regedt32.exe, do the following.
To delete the performance key using RegDeleteKey, use the following function call syntax.
RegDeleteKey(HKEY_LOCAL_MACHINE, "<service name of the application>/Performance");
<service name of the application> refers to the service name mentioned in Step 4 in the preceding list.