Performance Counters Data Types
PDH defines the following data types.
| Data type | Description |
|---|---|
| PDH_HQUERY | Handle to a query. The PdhOpenQuery function returns this handle. |
| PDH_HCOUNTER | Handle to a counter. The PdhAddCounter function returns this handle. PDH maintains the linkage between counters and queries. |
| PDH_HLOG | Handle to a log file. The PdhOpenLog and PdhBindInputDataSource functions return this handle. |
| PDH_STATUS | PDH status value. All PDH functions return a value of type PDH_STATUS. If the function succeeds, the return value is ERROR_SUCCESS. Otherwise, the function returns a system error code or a PDH error code. |
Show: