PdhIsRealTimeQuery function (pdh.h)

Determines if the specified query is a real-time query.


BOOL PdhIsRealTimeQuery(
  [in] PDH_HQUERY hQuery


[in] hQuery

Handle to the query. The PdhOpenQuery function returns this handle.

Return value

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.


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.


Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header pdh.h
Library Pdh.lib
DLL Pdh.dll

See also