PdhBrowseCounters

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
);
 

Parameters

pBrowseDlgData
Pointer to a PDH_BROWSE_DLG_CONFIG structure that specifies the behavior of the dialog box that receives the counter path strings.

Return Values

If the function succeeds, it returns ERROR_SUCCESS.

If the function fails, the return value is a PDH error status defined in pdhmsg.h.

See Also

Performance Data Helper Overview, Performance Data Functions, , CounterPathCallback, PDH_BROWSE_DLG_CONFIG