PdhIsRealTimeQuery function

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

Syntax

BOOL PdhIsRealTimeQuery(
  PDH_HQUERY hQuery
);

Parameters

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.

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

   
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

PdhOpenQuery

PdhSelectDataSource