Alternate e697dbe9c5997e35395fe158628dd8c5209481da
for Visual Studio 2022 and Windows 11.
読み取り中…
検索中…
一致する文字列を見つけられません
PerformanceDataHelper.h
[詳解]
1// ----------------------------------------------------------------------------
6
7#pragma once
8
9#include <Pdh.h>
10#include "WindowsLibrary.h"
11#include "TString.h"
12#include "Array.hpp"
13
14namespace alt
15{
17 {
18 public:
22 APIENTRY PerformanceDataItem (HQUERY hQuery, TString key);
23
25 APIENTRY ~PerformanceDataItem ();
26
31 bool APIENTRY AddCounter ();
32
35 TString& APIENTRY GetKey ();
36
49 bool APIENTRY GetValue (DWORD dwFormat, PDH_FMT_COUNTERVALUE& value);
50
51 private:
53
54 HQUERY _hQuery;
55 HCOUNTER _hCounter;
57 };
58
60 {
61 public:
63 APIENTRY PerformanceDataHelper ();
64
66 APIENTRY ~PerformanceDataHelper ();
67
72 bool APIENTRY Open ();
73
78 bool APIENTRY Close ();
79
83 PerformanceDataItem& APIENTRY CreateItem (TString key);
84
89 bool APIENTRY Query ();
90
91 private:
92 HQUERY _hQuery;
93 };
94}
可変配列に関するクラス
#define DLL_DECLSPEC
Definition: framework.h:17
文字列に関するWindowsAPIを集約したクラス
WindowsAPIを集約したプロジェクトファイル
文字列に関するWindowsAPIを集約したクラス
Definition: TString.h:17
プロジェクト共通基底クラス
Definition: DBLibrary.h:12