18 lines
363 B
C++
18 lines
363 B
C++
// Copyright (C) 2019-2024 Intel Corporation
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include <Pdh.h>
|
|
class QueryWrapper {
|
|
public:
|
|
QueryWrapper();
|
|
~QueryWrapper();
|
|
QueryWrapper(const QueryWrapper&) = delete;
|
|
QueryWrapper& operator=(const QueryWrapper&) = delete;
|
|
operator PDH_HQUERY() const;
|
|
private:
|
|
PDH_HQUERY query;
|
|
};
|