| 35 | } |
| 36 | |
| 37 | void DynamicQuery::Poll(const ProcessTracker& tracker, uint8_t* pBlob, uint32_t& numSwapChains) const |
| 38 | { |
| 39 | if (auto sta = pmPollDynamicQuery(hQuery_, tracker.GetPid(), pBlob, &numSwapChains); |
| 40 | sta != PM_STATUS_SUCCESS) { |
| 41 | throw ApiErrorException{ sta, "dynamic poll call failed" }; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | void DynamicQuery::PollWithTimestamp(const ProcessTracker& tracker, uint8_t* pBlob, uint32_t& numSwapChains, uint64_t nowTimestamp) const |
| 46 | { |
nothing calls this directly
no test coverage detected