Platform SDK: Performance Monitoring

Determining the Version of the Currently Installed PDH DLL

You may need to determine the version of the PDH DLL that is currently installed on your system to know whether some of the more recently included functionality, like log file creation and access, is available to you.

The PdhGetDllVersion function provides an easy way to get this information.