Platform SDK: Performance Monitoring

Determining Whether a Query is Reading from a Real-time Data Source

When an application opens multiple queries, you may need to determine from within the program what kind of data source a particular query is reading from. While a specific query is open, you can call the PdhIsRealTimeQuery function to determine this.