Platform SDK: Performance Monitoring

PdhIsRealTimeQuery

The PdhIsRealTimeQuery function determines if the specified query is a real-time query.

BOOL PdhIsRealTimeQuery(
  HWND hQuery            
);

Parameters

hQuery
[in] A handle to the query.

Return Values

If the query is a real-time query, the return value is TRUE.

If the query is not a real-time query, the return value is FALSE.

Remarks

The term real-time as used in the description of this function does not imply the standard meaning of the term real-time. Instead, it describes the collection of performance data from a source providing current information (for example, the registry or a WMI provider) rather than from a log file.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Pdh.h.
  Library: Use Pdh.lib.

See Also

PdhSelectDataSource