Performance Monitoring Types
The following table shows data types for performance monitoring.
Data type | Description |
---|---|
HQUERY | Handle to a query. |
HCOUNTER | Handle to a counter. |
Unless otherwise specified, all functions return a Win32 status value of ERROR_SUCCESS if the function completes successfully.
For data collection and formatting functions, it is important to remember that the return value of the function indicates the success or error of the function call and not necessarily that of the counter data. Check the CStatus member of the counter value returned to ensure that the data returned is valid before you use the data. If the value of the CStatus member does not indicate success, do not use the data.
See Also
Performance Monitoring Structures
Last updated on Friday, October 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.