The PdhBrowseCounters function displays the counter browsing dialog box so that the user can select the counters to be returned to the caller.
PDH_STATUS PdhBrowseCounters(
IN PPDH_BROWSE_DLG_CONFIG pBrowseDlgData // pointer to dialog
// structure
);
If the function succeeds, it returns ERROR_SUCCESS.
If the function fails, the return value is a PDH error status defined in pdhmsg.h.
Performance Data Helper Overview, Performance Data Functions, , CounterPathCallback, PDH_BROWSE_DLG_CONFIG