I just found out the following, which does not seem to be documented anywhere:
The Windows API has a function for displaying a dialog that lets the user select a specific performance counter from all counters available on the local or a remote computer.