]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #[cfg(feature = "Win32_System_Performance_HardwareCounterProfiling")] |
2 | pub mod HardwareCounterProfiling; | |
487cf647 | 3 | #[cfg_attr(windows, link(name = "windows"))] |
5e7ed085 | 4 | extern "system" { |
04454e1e FG |
5 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
6 | pub fn BackupPerfRegistryToFileW(szfilename: ::windows_sys::core::PCWSTR, szcommentstring: ::windows_sys::core::PCWSTR) -> u32; | |
7 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
8 | pub fn InstallPerfDllA(szcomputername: ::windows_sys::core::PCSTR, lpinifile: ::windows_sys::core::PCSTR, dwflags: usize) -> u32; | |
9 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
10 | pub fn InstallPerfDllW(szcomputername: ::windows_sys::core::PCWSTR, lpinifile: ::windows_sys::core::PCWSTR, dwflags: usize) -> u32; | |
11 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
12 | #[cfg(feature = "Win32_Foundation")] | |
13 | pub fn LoadPerfCounterTextStringsA(lpcommandline: ::windows_sys::core::PCSTR, bquietmodearg: super::super::Foundation::BOOL) -> u32; | |
14 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
15 | #[cfg(feature = "Win32_Foundation")] | |
16 | pub fn LoadPerfCounterTextStringsW(lpcommandline: ::windows_sys::core::PCWSTR, bquietmodearg: super::super::Foundation::BOOL) -> u32; | |
17 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
18 | pub fn PdhAddCounterA(hquery: isize, szfullcounterpath: ::windows_sys::core::PCSTR, dwuserdata: usize, phcounter: *mut isize) -> i32; | |
19 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
20 | pub fn PdhAddCounterW(hquery: isize, szfullcounterpath: ::windows_sys::core::PCWSTR, dwuserdata: usize, phcounter: *mut isize) -> i32; | |
21 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
22 | pub fn PdhAddEnglishCounterA(hquery: isize, szfullcounterpath: ::windows_sys::core::PCSTR, dwuserdata: usize, phcounter: *mut isize) -> i32; | |
23 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
24 | pub fn PdhAddEnglishCounterW(hquery: isize, szfullcounterpath: ::windows_sys::core::PCWSTR, dwuserdata: usize, phcounter: *mut isize) -> i32; | |
25 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
26 | pub fn PdhBindInputDataSourceA(phdatasource: *mut isize, logfilenamelist: ::windows_sys::core::PCSTR) -> i32; | |
27 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
28 | pub fn PdhBindInputDataSourceW(phdatasource: *mut isize, logfilenamelist: ::windows_sys::core::PCWSTR) -> i32; | |
29 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
30 | #[cfg(feature = "Win32_Foundation")] |
31 | pub fn PdhBrowseCountersA(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_A) -> i32; | |
04454e1e | 32 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
33 | #[cfg(feature = "Win32_Foundation")] |
34 | pub fn PdhBrowseCountersHA(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_HA) -> i32; | |
04454e1e | 35 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
36 | #[cfg(feature = "Win32_Foundation")] |
37 | pub fn PdhBrowseCountersHW(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_HW) -> i32; | |
04454e1e | 38 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
39 | #[cfg(feature = "Win32_Foundation")] |
40 | pub fn PdhBrowseCountersW(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_W) -> i32; | |
04454e1e | 41 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
42 | #[cfg(feature = "Win32_Foundation")] |
43 | pub fn PdhCalculateCounterFromRawValue(hcounter: isize, dwformat: PDH_FMT, rawvalue1: *const PDH_RAW_COUNTER, rawvalue2: *const PDH_RAW_COUNTER, fmtvalue: *mut PDH_FMT_COUNTERVALUE) -> i32; | |
04454e1e | 44 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 45 | pub fn PdhCloseLog(hlog: isize, dwflags: u32) -> i32; |
04454e1e | 46 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 47 | pub fn PdhCloseQuery(hquery: isize) -> i32; |
04454e1e | 48 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 49 | pub fn PdhCollectQueryData(hquery: isize) -> i32; |
04454e1e | 50 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
51 | #[cfg(feature = "Win32_Foundation")] |
52 | pub fn PdhCollectQueryDataEx(hquery: isize, dwintervaltime: u32, hnewdataevent: super::super::Foundation::HANDLE) -> i32; | |
04454e1e | 53 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 54 | pub fn PdhCollectQueryDataWithTime(hquery: isize, plltimestamp: *mut i64) -> i32; |
04454e1e | 55 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
56 | #[cfg(feature = "Win32_Foundation")] |
57 | pub fn PdhComputeCounterStatistics(hcounter: isize, dwformat: PDH_FMT, dwfirstentry: u32, dwnumentries: u32, lprawvaluearray: *const PDH_RAW_COUNTER, data: *mut PDH_STATISTICS) -> i32; | |
04454e1e FG |
58 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
59 | pub fn PdhConnectMachineA(szmachinename: ::windows_sys::core::PCSTR) -> i32; | |
60 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
61 | pub fn PdhConnectMachineW(szmachinename: ::windows_sys::core::PCWSTR) -> i32; | |
62 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
63 | pub fn PdhCreateSQLTablesA(szdatasource: ::windows_sys::core::PCSTR) -> i32; | |
64 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
65 | pub fn PdhCreateSQLTablesW(szdatasource: ::windows_sys::core::PCWSTR) -> i32; | |
66 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
67 | pub fn PdhEnumLogSetNamesA(szdatasource: ::windows_sys::core::PCSTR, mszdatasetnamelist: ::windows_sys::core::PSTR, pcchbufferlength: *mut u32) -> i32; | |
68 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
69 | pub fn PdhEnumLogSetNamesW(szdatasource: ::windows_sys::core::PCWSTR, mszdatasetnamelist: ::windows_sys::core::PWSTR, pcchbufferlength: *mut u32) -> i32; | |
70 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
71 | pub fn PdhEnumMachinesA(szdatasource: ::windows_sys::core::PCSTR, mszmachinelist: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32) -> i32; | |
72 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
73 | pub fn PdhEnumMachinesHA(hdatasource: isize, mszmachinelist: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32) -> i32; | |
74 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
75 | pub fn PdhEnumMachinesHW(hdatasource: isize, mszmachinelist: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32) -> i32; | |
76 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
77 | pub fn PdhEnumMachinesW(szdatasource: ::windows_sys::core::PCWSTR, mszmachinelist: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32) -> i32; | |
78 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
79 | pub fn PdhEnumObjectItemsA(szdatasource: ::windows_sys::core::PCSTR, szmachinename: ::windows_sys::core::PCSTR, szobjectname: ::windows_sys::core::PCSTR, mszcounterlist: ::windows_sys::core::PSTR, pcchcounterlistlength: *mut u32, mszinstancelist: ::windows_sys::core::PSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32; | |
80 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
81 | pub fn PdhEnumObjectItemsHA(hdatasource: isize, szmachinename: ::windows_sys::core::PCSTR, szobjectname: ::windows_sys::core::PCSTR, mszcounterlist: ::windows_sys::core::PSTR, pcchcounterlistlength: *mut u32, mszinstancelist: ::windows_sys::core::PSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32; | |
82 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
83 | pub fn PdhEnumObjectItemsHW(hdatasource: isize, szmachinename: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, mszcounterlist: ::windows_sys::core::PWSTR, pcchcounterlistlength: *mut u32, mszinstancelist: ::windows_sys::core::PWSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32; | |
84 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
85 | pub fn PdhEnumObjectItemsW(szdatasource: ::windows_sys::core::PCWSTR, szmachinename: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, mszcounterlist: ::windows_sys::core::PWSTR, pcchcounterlistlength: *mut u32, mszinstancelist: ::windows_sys::core::PWSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32; | |
86 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
87 | #[cfg(feature = "Win32_Foundation")] | |
88 | pub fn PdhEnumObjectsA(szdatasource: ::windows_sys::core::PCSTR, szmachinename: ::windows_sys::core::PCSTR, mszobjectlist: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: super::super::Foundation::BOOL) -> i32; | |
89 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
90 | #[cfg(feature = "Win32_Foundation")] | |
91 | pub fn PdhEnumObjectsHA(hdatasource: isize, szmachinename: ::windows_sys::core::PCSTR, mszobjectlist: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: super::super::Foundation::BOOL) -> i32; | |
92 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
93 | #[cfg(feature = "Win32_Foundation")] | |
94 | pub fn PdhEnumObjectsHW(hdatasource: isize, szmachinename: ::windows_sys::core::PCWSTR, mszobjectlist: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: super::super::Foundation::BOOL) -> i32; | |
95 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
96 | #[cfg(feature = "Win32_Foundation")] | |
97 | pub fn PdhEnumObjectsW(szdatasource: ::windows_sys::core::PCWSTR, szmachinename: ::windows_sys::core::PCWSTR, mszobjectlist: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: super::super::Foundation::BOOL) -> i32; | |
98 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
99 | pub fn PdhExpandCounterPathA(szwildcardpath: ::windows_sys::core::PCSTR, mszexpandedpathlist: ::windows_sys::core::PSTR, pcchpathlistlength: *mut u32) -> i32; | |
100 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
101 | pub fn PdhExpandCounterPathW(szwildcardpath: ::windows_sys::core::PCWSTR, mszexpandedpathlist: ::windows_sys::core::PWSTR, pcchpathlistlength: *mut u32) -> i32; | |
102 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
103 | pub fn PdhExpandWildCardPathA(szdatasource: ::windows_sys::core::PCSTR, szwildcardpath: ::windows_sys::core::PCSTR, mszexpandedpathlist: ::windows_sys::core::PSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32; | |
104 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
105 | pub fn PdhExpandWildCardPathHA(hdatasource: isize, szwildcardpath: ::windows_sys::core::PCSTR, mszexpandedpathlist: ::windows_sys::core::PSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32; | |
106 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
107 | pub fn PdhExpandWildCardPathHW(hdatasource: isize, szwildcardpath: ::windows_sys::core::PCWSTR, mszexpandedpathlist: ::windows_sys::core::PWSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32; | |
108 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
109 | pub fn PdhExpandWildCardPathW(szdatasource: ::windows_sys::core::PCWSTR, szwildcardpath: ::windows_sys::core::PCWSTR, mszexpandedpathlist: ::windows_sys::core::PWSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32; | |
110 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
111 | #[cfg(feature = "Win32_Foundation")] |
112 | pub fn PdhFormatFromRawValue(dwcountertype: u32, dwformat: PDH_FMT, ptimebase: *const i64, prawvalue1: *const PDH_RAW_COUNTER, prawvalue2: *const PDH_RAW_COUNTER, pfmtvalue: *mut PDH_FMT_COUNTERVALUE) -> i32; | |
04454e1e | 113 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
114 | #[cfg(feature = "Win32_Foundation")] |
115 | pub fn PdhGetCounterInfoA(hcounter: isize, bretrieveexplaintext: super::super::Foundation::BOOLEAN, pdwbuffersize: *mut u32, lpbuffer: *mut PDH_COUNTER_INFO_A) -> i32; | |
04454e1e | 116 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
117 | #[cfg(feature = "Win32_Foundation")] |
118 | pub fn PdhGetCounterInfoW(hcounter: isize, bretrieveexplaintext: super::super::Foundation::BOOLEAN, pdwbuffersize: *mut u32, lpbuffer: *mut PDH_COUNTER_INFO_W) -> i32; | |
04454e1e | 119 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 120 | pub fn PdhGetCounterTimeBase(hcounter: isize, ptimebase: *mut i64) -> i32; |
04454e1e FG |
121 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
122 | pub fn PdhGetDataSourceTimeRangeA(szdatasource: ::windows_sys::core::PCSTR, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i32; | |
123 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
5e7ed085 | 124 | pub fn PdhGetDataSourceTimeRangeH(hdatasource: isize, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i32; |
04454e1e FG |
125 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
126 | pub fn PdhGetDataSourceTimeRangeW(szdatasource: ::windows_sys::core::PCWSTR, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i32; | |
127 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
128 | pub fn PdhGetDefaultPerfCounterA(szdatasource: ::windows_sys::core::PCSTR, szmachinename: ::windows_sys::core::PCSTR, szobjectname: ::windows_sys::core::PCSTR, szdefaultcountername: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32) -> i32; | |
129 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
130 | pub fn PdhGetDefaultPerfCounterHA(hdatasource: isize, szmachinename: ::windows_sys::core::PCSTR, szobjectname: ::windows_sys::core::PCSTR, szdefaultcountername: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32) -> i32; | |
131 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
132 | pub fn PdhGetDefaultPerfCounterHW(hdatasource: isize, szmachinename: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, szdefaultcountername: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32) -> i32; | |
133 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
134 | pub fn PdhGetDefaultPerfCounterW(szdatasource: ::windows_sys::core::PCWSTR, szmachinename: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, szdefaultcountername: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32) -> i32; | |
135 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
136 | pub fn PdhGetDefaultPerfObjectA(szdatasource: ::windows_sys::core::PCSTR, szmachinename: ::windows_sys::core::PCSTR, szdefaultobjectname: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32) -> i32; | |
137 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
138 | pub fn PdhGetDefaultPerfObjectHA(hdatasource: isize, szmachinename: ::windows_sys::core::PCSTR, szdefaultobjectname: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32) -> i32; | |
139 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
140 | pub fn PdhGetDefaultPerfObjectHW(hdatasource: isize, szmachinename: ::windows_sys::core::PCWSTR, szdefaultobjectname: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32) -> i32; | |
141 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
142 | pub fn PdhGetDefaultPerfObjectW(szdatasource: ::windows_sys::core::PCWSTR, szmachinename: ::windows_sys::core::PCWSTR, szdefaultobjectname: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32) -> i32; | |
143 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
5e7ed085 | 144 | pub fn PdhGetDllVersion(lpdwversion: *mut PDH_DLL_VERSION) -> i32; |
04454e1e | 145 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 146 | pub fn PdhGetFormattedCounterArrayA(hcounter: isize, dwformat: PDH_FMT, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_FMT_COUNTERVALUE_ITEM_A) -> i32; |
04454e1e | 147 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 148 | pub fn PdhGetFormattedCounterArrayW(hcounter: isize, dwformat: PDH_FMT, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_FMT_COUNTERVALUE_ITEM_W) -> i32; |
04454e1e | 149 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 150 | pub fn PdhGetFormattedCounterValue(hcounter: isize, dwformat: PDH_FMT, lpdwtype: *mut u32, pvalue: *mut PDH_FMT_COUNTERVALUE) -> i32; |
04454e1e | 151 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 152 | pub fn PdhGetLogFileSize(hlog: isize, llsize: *mut i64) -> i32; |
04454e1e | 153 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 154 | pub fn PdhGetLogSetGUID(hlog: isize, pguid: *mut ::windows_sys::core::GUID, prunid: *mut i32) -> i32; |
04454e1e | 155 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
156 | #[cfg(feature = "Win32_Foundation")] |
157 | pub fn PdhGetRawCounterArrayA(hcounter: isize, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_RAW_COUNTER_ITEM_A) -> i32; | |
04454e1e | 158 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
159 | #[cfg(feature = "Win32_Foundation")] |
160 | pub fn PdhGetRawCounterArrayW(hcounter: isize, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_RAW_COUNTER_ITEM_W) -> i32; | |
04454e1e | 161 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
162 | #[cfg(feature = "Win32_Foundation")] |
163 | pub fn PdhGetRawCounterValue(hcounter: isize, lpdwtype: *mut u32, pvalue: *mut PDH_RAW_COUNTER) -> i32; | |
04454e1e | 164 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
165 | #[cfg(feature = "Win32_Foundation")] |
166 | pub fn PdhIsRealTimeQuery(hquery: isize) -> super::super::Foundation::BOOL; | |
04454e1e FG |
167 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
168 | pub fn PdhLookupPerfIndexByNameA(szmachinename: ::windows_sys::core::PCSTR, sznamebuffer: ::windows_sys::core::PCSTR, pdwindex: *mut u32) -> i32; | |
169 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
170 | pub fn PdhLookupPerfIndexByNameW(szmachinename: ::windows_sys::core::PCWSTR, sznamebuffer: ::windows_sys::core::PCWSTR, pdwindex: *mut u32) -> i32; | |
171 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
172 | pub fn PdhLookupPerfNameByIndexA(szmachinename: ::windows_sys::core::PCSTR, dwnameindex: u32, sznamebuffer: ::windows_sys::core::PSTR, pcchnamebuffersize: *mut u32) -> i32; | |
173 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
174 | pub fn PdhLookupPerfNameByIndexW(szmachinename: ::windows_sys::core::PCWSTR, dwnameindex: u32, sznamebuffer: ::windows_sys::core::PWSTR, pcchnamebuffersize: *mut u32) -> i32; | |
175 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
176 | pub fn PdhMakeCounterPathA(pcounterpathelements: *const PDH_COUNTER_PATH_ELEMENTS_A, szfullpathbuffer: ::windows_sys::core::PSTR, pcchbuffersize: *mut u32, dwflags: PDH_PATH_FLAGS) -> i32; | |
177 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
178 | pub fn PdhMakeCounterPathW(pcounterpathelements: *const PDH_COUNTER_PATH_ELEMENTS_W, szfullpathbuffer: ::windows_sys::core::PWSTR, pcchbuffersize: *mut u32, dwflags: PDH_PATH_FLAGS) -> i32; | |
179 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
180 | pub fn PdhOpenLogA(szlogfilename: ::windows_sys::core::PCSTR, dwaccessflags: PDH_LOG, lpdwlogtype: *mut PDH_LOG_TYPE, hquery: isize, dwmaxsize: u32, szusercaption: ::windows_sys::core::PCSTR, phlog: *mut isize) -> i32; | |
181 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
182 | pub fn PdhOpenLogW(szlogfilename: ::windows_sys::core::PCWSTR, dwaccessflags: PDH_LOG, lpdwlogtype: *mut PDH_LOG_TYPE, hquery: isize, dwmaxsize: u32, szusercaption: ::windows_sys::core::PCWSTR, phlog: *mut isize) -> i32; | |
183 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
184 | pub fn PdhOpenQueryA(szdatasource: ::windows_sys::core::PCSTR, dwuserdata: usize, phquery: *mut isize) -> i32; | |
185 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
5e7ed085 | 186 | pub fn PdhOpenQueryH(hdatasource: isize, dwuserdata: usize, phquery: *mut isize) -> i32; |
04454e1e FG |
187 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
188 | pub fn PdhOpenQueryW(szdatasource: ::windows_sys::core::PCWSTR, dwuserdata: usize, phquery: *mut isize) -> i32; | |
189 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
190 | pub fn PdhParseCounterPathA(szfullpathbuffer: ::windows_sys::core::PCSTR, pcounterpathelements: *mut PDH_COUNTER_PATH_ELEMENTS_A, pdwbuffersize: *mut u32, dwflags: u32) -> i32; | |
191 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
192 | pub fn PdhParseCounterPathW(szfullpathbuffer: ::windows_sys::core::PCWSTR, pcounterpathelements: *mut PDH_COUNTER_PATH_ELEMENTS_W, pdwbuffersize: *mut u32, dwflags: u32) -> i32; | |
193 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
194 | pub fn PdhParseInstanceNameA(szinstancestring: ::windows_sys::core::PCSTR, szinstancename: ::windows_sys::core::PSTR, pcchinstancenamelength: *mut u32, szparentname: ::windows_sys::core::PSTR, pcchparentnamelength: *mut u32, lpindex: *mut u32) -> i32; | |
195 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
196 | pub fn PdhParseInstanceNameW(szinstancestring: ::windows_sys::core::PCWSTR, szinstancename: ::windows_sys::core::PWSTR, pcchinstancenamelength: *mut u32, szparentname: ::windows_sys::core::PWSTR, pcchparentnamelength: *mut u32, lpindex: *mut u32) -> i32; | |
197 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
198 | #[cfg(feature = "Win32_Foundation")] |
199 | pub fn PdhReadRawLogRecord(hlog: isize, ftrecord: super::super::Foundation::FILETIME, prawlogrecord: *mut PDH_RAW_LOG_RECORD, pdwbufferlength: *mut u32) -> i32; | |
04454e1e | 200 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 201 | pub fn PdhRemoveCounter(hcounter: isize) -> i32; |
04454e1e | 202 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 203 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
204 | pub fn PdhSelectDataSourceA(hwndowner: super::super::Foundation::HWND, dwflags: PDH_SELECT_DATA_SOURCE_FLAGS, szdatasource: ::windows_sys::core::PSTR, pcchbufferlength: *mut u32) -> i32; |
205 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 206 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
207 | pub fn PdhSelectDataSourceW(hwndowner: super::super::Foundation::HWND, dwflags: PDH_SELECT_DATA_SOURCE_FLAGS, szdatasource: ::windows_sys::core::PWSTR, pcchbufferlength: *mut u32) -> i32; |
208 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
5e7ed085 | 209 | pub fn PdhSetCounterScaleFactor(hcounter: isize, lfactor: i32) -> i32; |
04454e1e | 210 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 211 | pub fn PdhSetDefaultRealTimeDataSource(dwdatasourceid: REAL_TIME_DATA_SOURCE_ID_FLAGS) -> i32; |
04454e1e | 212 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 213 | pub fn PdhSetLogSetRunID(hlog: isize, runid: i32) -> i32; |
04454e1e | 214 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 215 | pub fn PdhSetQueryTimeRange(hquery: isize, pinfo: *const PDH_TIME_INFO) -> i32; |
04454e1e FG |
216 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
217 | pub fn PdhUpdateLogA(hlog: isize, szuserstring: ::windows_sys::core::PCSTR) -> i32; | |
218 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
5e7ed085 | 219 | pub fn PdhUpdateLogFileCatalog(hlog: isize) -> i32; |
04454e1e FG |
220 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
221 | pub fn PdhUpdateLogW(hlog: isize, szuserstring: ::windows_sys::core::PCWSTR) -> i32; | |
222 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
223 | pub fn PdhValidatePathA(szfullpathbuffer: ::windows_sys::core::PCSTR) -> i32; | |
224 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
225 | pub fn PdhValidatePathExA(hdatasource: isize, szfullpathbuffer: ::windows_sys::core::PCSTR) -> i32; | |
226 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
227 | pub fn PdhValidatePathExW(hdatasource: isize, szfullpathbuffer: ::windows_sys::core::PCWSTR) -> i32; | |
228 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
229 | pub fn PdhValidatePathW(szfullpathbuffer: ::windows_sys::core::PCWSTR) -> i32; | |
230 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
231 | pub fn PdhVerifySQLDBA(szdatasource: ::windows_sys::core::PCSTR) -> i32; | |
232 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
233 | pub fn PdhVerifySQLDBW(szdatasource: ::windows_sys::core::PCWSTR) -> i32; | |
234 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
487cf647 | 235 | pub fn PerfAddCounters(hquery: PerfQueryHandle, pcounters: *mut PERF_COUNTER_IDENTIFIER, cbcounters: u32) -> u32; |
04454e1e | 236 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
237 | #[cfg(feature = "Win32_Foundation")] |
238 | pub fn PerfCloseQueryHandle(hquery: super::super::Foundation::HANDLE) -> u32; | |
04454e1e FG |
239 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
240 | pub fn PerfCreateInstance(providerhandle: PerfProviderHandle, countersetguid: *const ::windows_sys::core::GUID, name: ::windows_sys::core::PCWSTR, id: u32) -> *mut PERF_COUNTERSET_INSTANCE; | |
241 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
242 | #[cfg(feature = "Win32_Foundation")] |
243 | pub fn PerfDecrementULongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u32; | |
04454e1e | 244 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
245 | #[cfg(feature = "Win32_Foundation")] |
246 | pub fn PerfDecrementULongLongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u32; | |
04454e1e | 247 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 248 | pub fn PerfDeleteCounters(hquery: PerfQueryHandle, pcounters: *mut PERF_COUNTER_IDENTIFIER, cbcounters: u32) -> u32; |
04454e1e | 249 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 250 | pub fn PerfDeleteInstance(provider: PerfProviderHandle, instanceblock: *const PERF_COUNTERSET_INSTANCE) -> u32; |
04454e1e FG |
251 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
252 | pub fn PerfEnumerateCounterSet(szmachine: ::windows_sys::core::PCWSTR, pcountersetids: *mut ::windows_sys::core::GUID, ccountersetids: u32, pccountersetidsactual: *mut u32) -> u32; | |
253 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
254 | pub fn PerfEnumerateCounterSetInstances(szmachine: ::windows_sys::core::PCWSTR, pcountersetid: *const ::windows_sys::core::GUID, pinstances: *mut PERF_INSTANCE_HEADER, cbinstances: u32, pcbinstancesactual: *mut u32) -> u32; | |
255 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
256 | #[cfg(feature = "Win32_Foundation")] |
257 | pub fn PerfIncrementULongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u32; | |
04454e1e | 258 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
259 | #[cfg(feature = "Win32_Foundation")] |
260 | pub fn PerfIncrementULongLongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u32; | |
04454e1e FG |
261 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
262 | pub fn PerfOpenQueryHandle(szmachine: ::windows_sys::core::PCWSTR, phquery: *mut PerfQueryHandle) -> u32; | |
263 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
264 | #[cfg(feature = "Win32_Foundation")] |
265 | pub fn PerfQueryCounterData(hquery: PerfQueryHandle, pcounterblock: *mut PERF_DATA_HEADER, cbcounterblock: u32, pcbcounterblockactual: *mut u32) -> u32; | |
04454e1e | 266 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 267 | pub fn PerfQueryCounterInfo(hquery: PerfQueryHandle, pcounters: *mut PERF_COUNTER_IDENTIFIER, cbcounters: u32, pcbcountersactual: *mut u32) -> u32; |
04454e1e FG |
268 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
269 | pub fn PerfQueryCounterSetRegistrationInfo(szmachine: ::windows_sys::core::PCWSTR, pcountersetid: *const ::windows_sys::core::GUID, requestcode: PerfRegInfoType, requestlangid: u32, pbreginfo: *mut u8, cbreginfo: u32, pcbreginfoactual: *mut u32) -> u32; | |
270 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 271 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
272 | pub fn PerfQueryInstance(providerhandle: super::super::Foundation::HANDLE, countersetguid: *const ::windows_sys::core::GUID, name: ::windows_sys::core::PCWSTR, id: u32) -> *mut PERF_COUNTERSET_INSTANCE; |
273 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
274 | #[cfg(feature = "Win32_Foundation")] |
275 | pub fn PerfSetCounterRefValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, address: *const ::core::ffi::c_void) -> u32; | |
04454e1e | 276 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
277 | #[cfg(feature = "Win32_Foundation")] |
278 | pub fn PerfSetCounterSetInfo(providerhandle: super::super::Foundation::HANDLE, template: *mut PERF_COUNTERSET_INFO, templatesize: u32) -> u32; | |
04454e1e | 279 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
280 | #[cfg(feature = "Win32_Foundation")] |
281 | pub fn PerfSetULongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u32; | |
04454e1e | 282 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
283 | #[cfg(feature = "Win32_Foundation")] |
284 | pub fn PerfSetULongLongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u32; | |
04454e1e | 285 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 286 | pub fn PerfStartProvider(providerguid: *const ::windows_sys::core::GUID, controlcallback: PERFLIBREQUEST, phprovider: *mut PerfProviderHandle) -> u32; |
04454e1e | 287 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 288 | pub fn PerfStartProviderEx(providerguid: *const ::windows_sys::core::GUID, providercontext: *const PERF_PROVIDER_CONTEXT, provider: *mut PerfProviderHandle) -> u32; |
04454e1e | 289 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 290 | pub fn PerfStopProvider(providerhandle: PerfProviderHandle) -> u32; |
04454e1e | 291 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
292 | #[cfg(feature = "Win32_Foundation")] |
293 | pub fn QueryPerformanceCounter(lpperformancecount: *mut i64) -> super::super::Foundation::BOOL; | |
04454e1e | 294 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
295 | #[cfg(feature = "Win32_Foundation")] |
296 | pub fn QueryPerformanceFrequency(lpfrequency: *mut i64) -> super::super::Foundation::BOOL; | |
04454e1e FG |
297 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
298 | pub fn RestorePerfRegistryFromFileW(szfilename: ::windows_sys::core::PCWSTR, szlangid: ::windows_sys::core::PCWSTR) -> u32; | |
299 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
300 | pub fn SetServiceAsTrustedA(szreserved: ::windows_sys::core::PCSTR, szservicename: ::windows_sys::core::PCSTR) -> u32; | |
301 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
302 | pub fn SetServiceAsTrustedW(szreserved: ::windows_sys::core::PCWSTR, szservicename: ::windows_sys::core::PCWSTR) -> u32; | |
303 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
304 | #[cfg(feature = "Win32_Foundation")] | |
305 | pub fn UnloadPerfCounterTextStringsA(lpcommandline: ::windows_sys::core::PCSTR, bquietmodearg: super::super::Foundation::BOOL) -> u32; | |
306 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] | |
307 | #[cfg(feature = "Win32_Foundation")] | |
308 | pub fn UnloadPerfCounterTextStringsW(lpcommandline: ::windows_sys::core::PCWSTR, bquietmodearg: super::super::Foundation::BOOL) -> u32; | |
309 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
310 | pub fn UpdatePerfNameFilesA(sznewctrfilepath: ::windows_sys::core::PCSTR, sznewhlpfilepath: ::windows_sys::core::PCSTR, szlanguageid: ::windows_sys::core::PCSTR, dwflags: usize) -> u32; | |
311 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
312 | pub fn UpdatePerfNameFilesW(sznewctrfilepath: ::windows_sys::core::PCWSTR, sznewhlpfilepath: ::windows_sys::core::PCWSTR, szlanguageid: ::windows_sys::core::PCWSTR, dwflags: usize) -> u32; | |
5e7ed085 | 313 | } |
487cf647 FG |
314 | pub type DICounterItem = *mut ::core::ffi::c_void; |
315 | pub type DILogFileItem = *mut ::core::ffi::c_void; | |
316 | pub type DISystemMonitor = *mut ::core::ffi::c_void; | |
317 | pub type DISystemMonitorEvents = *mut ::core::ffi::c_void; | |
318 | pub type DISystemMonitorInternal = *mut ::core::ffi::c_void; | |
319 | pub type IAlertDataCollector = *mut ::core::ffi::c_void; | |
320 | pub type IApiTracingDataCollector = *mut ::core::ffi::c_void; | |
321 | pub type IConfigurationDataCollector = *mut ::core::ffi::c_void; | |
322 | pub type ICounterItem = *mut ::core::ffi::c_void; | |
323 | pub type ICounterItem2 = *mut ::core::ffi::c_void; | |
324 | pub type ICounters = *mut ::core::ffi::c_void; | |
325 | pub type IDataCollector = *mut ::core::ffi::c_void; | |
326 | pub type IDataCollectorCollection = *mut ::core::ffi::c_void; | |
327 | pub type IDataCollectorSet = *mut ::core::ffi::c_void; | |
328 | pub type IDataCollectorSetCollection = *mut ::core::ffi::c_void; | |
329 | pub type IDataManager = *mut ::core::ffi::c_void; | |
330 | pub type IFolderAction = *mut ::core::ffi::c_void; | |
331 | pub type IFolderActionCollection = *mut ::core::ffi::c_void; | |
332 | pub type ILogFileItem = *mut ::core::ffi::c_void; | |
333 | pub type ILogFiles = *mut ::core::ffi::c_void; | |
334 | pub type IPerformanceCounterDataCollector = *mut ::core::ffi::c_void; | |
335 | pub type ISchedule = *mut ::core::ffi::c_void; | |
336 | pub type IScheduleCollection = *mut ::core::ffi::c_void; | |
337 | pub type ISystemMonitor = *mut ::core::ffi::c_void; | |
338 | pub type ISystemMonitor2 = *mut ::core::ffi::c_void; | |
339 | pub type ISystemMonitorEvents = *mut ::core::ffi::c_void; | |
340 | pub type ITraceDataCollector = *mut ::core::ffi::c_void; | |
341 | pub type ITraceDataProvider = *mut ::core::ffi::c_void; | |
342 | pub type ITraceDataProviderCollection = *mut ::core::ffi::c_void; | |
343 | pub type IValueMap = *mut ::core::ffi::c_void; | |
344 | pub type IValueMapItem = *mut ::core::ffi::c_void; | |
345 | pub type _ICounterItemUnion = *mut ::core::ffi::c_void; | |
346 | pub type _ISystemMonitorUnion = *mut ::core::ffi::c_void; | |
5e7ed085 | 347 | pub const AppearPropPage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3835118057, data2: 37800, data3: 19121, data4: [142, 150, 191, 68, 130, 40, 46, 156] }; |
487cf647 FG |
348 | pub const BootTraceSession: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946872, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; |
349 | pub const BootTraceSessionCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946873, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
350 | pub const CounterItem: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3302152416, data2: 53725, data3: 4558, data4: [148, 15, 0, 128, 41, 0, 67, 72] }; | |
351 | pub const CounterItem2: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1125739618, data2: 49951, data3: 19683, data4: [160, 46, 121, 239, 224, 246, 165, 37] }; | |
352 | pub const CounterPropPage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3482617185, data2: 60904, data3: 4558, data4: [148, 30, 0, 128, 41, 0, 67, 71] }; | |
353 | pub const Counters: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2997905106, data2: 10924, data3: 4559, data4: [148, 47, 0, 128, 41, 0, 67, 71] }; | |
354 | pub const DIID_DICounterItem: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3230420978, data2: 3630, data3: 4559, data4: [148, 44, 0, 128, 41, 0, 67, 71] }; | |
355 | pub const DIID_DILogFileItem: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2366193660, data2: 63351, data3: 18711, data4: [130, 209, 131, 63, 188, 84, 197, 143] }; | |
356 | pub const DIID_DISystemMonitor: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 332873089, data2: 49966, data3: 4559, data4: [147, 152, 0, 170, 0, 163, 221, 234] }; | |
357 | pub const DIID_DISystemMonitorEvents: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2224527664, data2: 19123, data3: 4559, data4: [148, 58, 0, 128, 41, 0, 67, 71] }; | |
358 | pub const DIID_DISystemMonitorInternal: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 424587842, data2: 49964, data3: 4559, data4: [147, 152, 0, 170, 0, 163, 221, 234] }; | |
359 | pub const DataCollectorSet: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946849, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
360 | pub const DataCollectorSetCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946853, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
361 | pub const GeneralPropPage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3286619090, data2: 6659, data3: 4559, data4: [148, 45, 0, 128, 41, 0, 67, 71] }; | |
362 | pub const GraphPropPage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3286619091, data2: 6659, data3: 4559, data4: [148, 45, 0, 128, 41, 0, 67, 71] }; | |
363 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
364 | pub const H_WBEM_DATASOURCE: i32 = -1i32; | |
365 | pub const LIBID_SystemMonitor: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 460799554, data2: 9481, data3: 4559, data4: [148, 47, 0, 128, 41, 0, 67, 71] }; | |
366 | pub const LegacyDataCollectorSet: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946854, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
367 | pub const LegacyDataCollectorSetCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946855, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
368 | pub const LegacyTraceSession: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946856, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
369 | pub const LegacyTraceSessionCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946857, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
370 | pub const LogFileItem: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 384588776, data2: 57235, data3: 16951, data4: [148, 228, 158, 233, 24, 17, 29, 113] }; | |
371 | pub const LogFiles: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 657840637, data2: 63161, data3: 20249, data4: [165, 217, 226, 208, 104, 88, 75, 197] }; | |
372 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
373 | pub const MAX_COUNTER_PATH: u32 = 256u32; | |
374 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
375 | pub const MAX_PERF_OBJECTS_IN_QUERY_FUNCTION: i32 = 64i32; | |
376 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
377 | pub const PDH_ACCESS_DENIED: i32 = -1073738789i32; | |
378 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
379 | pub const PDH_ASYNC_QUERY_TIMEOUT: i32 = -2147481637i32; | |
380 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
381 | pub const PDH_BINARY_LOG_CORRUPT: i32 = -1073738761i32; | |
382 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
383 | pub const PDH_CALC_NEGATIVE_DENOMINATOR: i32 = -2147481642i32; | |
384 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
385 | pub const PDH_CALC_NEGATIVE_TIMEBASE: i32 = -2147481641i32; | |
386 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
387 | pub const PDH_CALC_NEGATIVE_VALUE: i32 = -2147481640i32; | |
388 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
389 | pub const PDH_CANNOT_CONNECT_MACHINE: i32 = -1073738813i32; | |
390 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
391 | pub const PDH_CANNOT_CONNECT_WMI_SERVER: i32 = -1073738776i32; | |
392 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
393 | pub const PDH_CANNOT_READ_NAME_STRINGS: i32 = -1073738808i32; | |
394 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
395 | pub const PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE: i32 = -2147481636i32; | |
396 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
397 | pub const PDH_COUNTER_ALREADY_IN_QUERY: i32 = -1073738762i32; | |
398 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
399 | pub const PDH_CSTATUS_BAD_COUNTERNAME: i32 = -1073738816i32; | |
400 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
401 | pub const PDH_CSTATUS_INVALID_DATA: i32 = -1073738822i32; | |
402 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
403 | pub const PDH_CSTATUS_ITEM_NOT_VALIDATED: i32 = -2147481645i32; | |
404 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
405 | pub const PDH_CSTATUS_NEW_DATA: i32 = 1i32; | |
406 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
407 | pub const PDH_CSTATUS_NO_COUNTER: i32 = -1073738823i32; | |
408 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
409 | pub const PDH_CSTATUS_NO_COUNTERNAME: i32 = -1073738817i32; | |
410 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
411 | pub const PDH_CSTATUS_NO_INSTANCE: i32 = -2147481647i32; | |
412 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
413 | pub const PDH_CSTATUS_NO_MACHINE: i32 = -2147481648i32; | |
414 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
415 | pub const PDH_CSTATUS_NO_OBJECT: i32 = -1073738824i32; | |
416 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
417 | pub const PDH_CSTATUS_VALID_DATA: i32 = 0i32; | |
418 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
419 | pub const PDH_DATA_SOURCE_IS_LOG_FILE: i32 = -1073738802i32; | |
420 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
421 | pub const PDH_DATA_SOURCE_IS_REAL_TIME: i32 = -1073738801i32; | |
422 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
423 | pub const PDH_DIALOG_CANCELLED: i32 = -2147481639i32; | |
424 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
425 | pub const PDH_END_OF_LOG_FILE: i32 = -2147481638i32; | |
426 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
427 | pub const PDH_ENTRY_NOT_IN_LOG_FILE: i32 = -1073738803i32; | |
428 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
429 | pub const PDH_FILE_ALREADY_EXISTS: i32 = -1073738798i32; | |
430 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
431 | pub const PDH_FILE_NOT_FOUND: i32 = -1073738799i32; | |
432 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
433 | pub const PDH_FUNCTION_NOT_FOUND: i32 = -1073738818i32; | |
434 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
435 | pub const PDH_INCORRECT_APPEND_TIME: i32 = -1073738757i32; | |
436 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
437 | pub const PDH_INSUFFICIENT_BUFFER: i32 = -1073738814i32; | |
438 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
439 | pub const PDH_INVALID_ARGUMENT: i32 = -1073738819i32; | |
440 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
441 | pub const PDH_INVALID_BUFFER: i32 = -1073738815i32; | |
442 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
443 | pub const PDH_INVALID_DATA: i32 = -1073738810i32; | |
444 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
445 | pub const PDH_INVALID_DATASOURCE: i32 = -1073738787i32; | |
446 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
447 | pub const PDH_INVALID_HANDLE: i32 = -1073738820i32; | |
448 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
449 | pub const PDH_INVALID_INSTANCE: i32 = -1073738811i32; | |
450 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
451 | pub const PDH_INVALID_PATH: i32 = -1073738812i32; | |
452 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
453 | pub const PDH_INVALID_SQLDB: i32 = -1073738786i32; | |
454 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
455 | pub const PDH_INVALID_SQL_LOG_FORMAT: i32 = -1073738763i32; | |
456 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
457 | pub const PDH_LOGSVC_NOT_OPENED: i32 = -1073738791i32; | |
458 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
459 | pub const PDH_LOGSVC_QUERY_NOT_FOUND: i32 = -1073738792i32; | |
460 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
461 | pub const PDH_LOG_FILE_CREATE_ERROR: i32 = -1073738807i32; | |
462 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
463 | pub const PDH_LOG_FILE_OPEN_ERROR: i32 = -1073738806i32; | |
464 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
465 | pub const PDH_LOG_FILE_TOO_SMALL: i32 = -1073738788i32; | |
466 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
467 | pub const PDH_LOG_SAMPLE_TOO_SMALL: i32 = -1073738760i32; | |
468 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
469 | pub const PDH_LOG_TYPE_NOT_FOUND: i32 = -1073738805i32; | |
470 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
471 | pub const PDH_LOG_TYPE_RETIRED_BIN: u32 = 3u32; | |
472 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
473 | pub const PDH_LOG_TYPE_TRACE_GENERIC: u32 = 5u32; | |
474 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
475 | pub const PDH_LOG_TYPE_TRACE_KERNEL: u32 = 4u32; | |
476 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
477 | pub const PDH_MAX_COUNTER_NAME: u32 = 1024u32; | |
478 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
479 | pub const PDH_MAX_COUNTER_PATH: u32 = 2048u32; | |
480 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
481 | pub const PDH_MAX_DATASOURCE_PATH: u32 = 1024u32; | |
482 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
483 | pub const PDH_MAX_INSTANCE_NAME: u32 = 1024u32; | |
484 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
485 | pub const PDH_MAX_SCALE: i32 = 7i32; | |
486 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
487 | pub const PDH_MEMORY_ALLOCATION_FAILURE: i32 = -1073738821i32; | |
488 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
489 | pub const PDH_MIN_SCALE: i32 = -7i32; | |
490 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
491 | pub const PDH_MORE_DATA: i32 = -2147481646i32; | |
492 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
493 | pub const PDH_NOEXPANDCOUNTERS: u32 = 1u32; | |
494 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
495 | pub const PDH_NOEXPANDINSTANCES: u32 = 2u32; | |
496 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
497 | pub const PDH_NOT_IMPLEMENTED: i32 = -1073738797i32; | |
498 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
499 | pub const PDH_NO_COUNTERS: i32 = -1073738785i32; | |
500 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
501 | pub const PDH_NO_DATA: i32 = -2147481643i32; | |
502 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
503 | pub const PDH_NO_DIALOG_DATA: i32 = -1073738809i32; | |
504 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
505 | pub const PDH_NO_MORE_DATA: i32 = -1073738804i32; | |
506 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
507 | pub const PDH_OS_EARLIER_VERSION: i32 = -1073738758i32; | |
508 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
509 | pub const PDH_OS_LATER_VERSION: i32 = -1073738759i32; | |
510 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
511 | pub const PDH_PLA_COLLECTION_ALREADY_RUNNING: i32 = -1073738775i32; | |
512 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
513 | pub const PDH_PLA_COLLECTION_NOT_FOUND: i32 = -1073738773i32; | |
514 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
515 | pub const PDH_PLA_ERROR_ALREADY_EXISTS: i32 = -1073738770i32; | |
516 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
517 | pub const PDH_PLA_ERROR_FILEPATH: i32 = -1073738768i32; | |
518 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
519 | pub const PDH_PLA_ERROR_NAME_TOO_LONG: i32 = -1073738764i32; | |
520 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
521 | pub const PDH_PLA_ERROR_NOSTART: i32 = -1073738771i32; | |
522 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
523 | pub const PDH_PLA_ERROR_SCHEDULE_ELAPSED: i32 = -1073738772i32; | |
524 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
525 | pub const PDH_PLA_ERROR_SCHEDULE_OVERLAP: i32 = -1073738774i32; | |
526 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
527 | pub const PDH_PLA_ERROR_TYPE_MISMATCH: i32 = -1073738769i32; | |
528 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
529 | pub const PDH_PLA_SERVICE_ERROR: i32 = -1073738767i32; | |
530 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
531 | pub const PDH_PLA_VALIDATION_ERROR: i32 = -1073738766i32; | |
532 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
533 | pub const PDH_PLA_VALIDATION_WARNING: i32 = -2147480589i32; | |
534 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
535 | pub const PDH_QUERY_PERF_DATA_TIMEOUT: i32 = -1073738754i32; | |
536 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
537 | pub const PDH_REFRESHCOUNTERS: u32 = 4u32; | |
538 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
539 | pub const PDH_RETRY: i32 = -2147481644i32; | |
540 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
541 | pub const PDH_SQL_ALLOCCON_FAILED: i32 = -1073738783i32; | |
542 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
543 | pub const PDH_SQL_ALLOC_FAILED: i32 = -1073738784i32; | |
544 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
545 | pub const PDH_SQL_ALTER_DETAIL_FAILED: i32 = -1073738755i32; | |
546 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
547 | pub const PDH_SQL_BIND_FAILED: i32 = -1073738777i32; | |
548 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
549 | pub const PDH_SQL_CONNECT_FAILED: i32 = -1073738778i32; | |
550 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
551 | pub const PDH_SQL_EXEC_DIRECT_FAILED: i32 = -1073738782i32; | |
552 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
553 | pub const PDH_SQL_FETCH_FAILED: i32 = -1073738781i32; | |
554 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
555 | pub const PDH_SQL_MORE_RESULTS_FAILED: i32 = -1073738779i32; | |
556 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
557 | pub const PDH_SQL_ROWCOUNT_FAILED: i32 = -1073738780i32; | |
558 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
559 | pub const PDH_STRING_NOT_FOUND: i32 = -1073738796i32; | |
560 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
561 | pub const PDH_UNABLE_MAP_NAME_FILES: i32 = -2147480619i32; | |
562 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
563 | pub const PDH_UNABLE_READ_LOG_HEADER: i32 = -1073738800i32; | |
564 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
565 | pub const PDH_UNKNOWN_LOGSVC_COMMAND: i32 = -1073738793i32; | |
566 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
567 | pub const PDH_UNKNOWN_LOG_FORMAT: i32 = -1073738794i32; | |
568 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
569 | pub const PDH_UNMATCHED_APPEND_COUNTER: i32 = -1073738756i32; | |
570 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
571 | pub const PDH_WBEM_ERROR: i32 = -1073738790i32; | |
572 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
573 | pub const PERF_ADD_COUNTER: u32 = 1u32; | |
574 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
575 | pub const PERF_AGGREGATE_INSTANCE: &str = "_Total"; | |
576 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
577 | pub const PERF_AGGREGATE_MAX: u32 = 4u32; | |
578 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
579 | pub const PERF_ATTRIB_BY_REFERENCE: u64 = 1u64; | |
580 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
581 | pub const PERF_ATTRIB_DISPLAY_AS_HEX: u64 = 16u64; | |
582 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
583 | pub const PERF_ATTRIB_DISPLAY_AS_REAL: u64 = 8u64; | |
584 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
585 | pub const PERF_ATTRIB_NO_DISPLAYABLE: u64 = 2u64; | |
586 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
587 | pub const PERF_ATTRIB_NO_GROUP_SEPARATOR: u64 = 4u64; | |
588 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
589 | pub const PERF_COLLECT_END: u32 = 6u32; | |
590 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
591 | pub const PERF_COLLECT_START: u32 = 5u32; | |
592 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
593 | pub const PERF_COUNTERSET_FLAG_AGGREGATE: u32 = 4u32; | |
594 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
595 | pub const PERF_COUNTERSET_FLAG_HISTORY: u32 = 8u32; | |
596 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
597 | pub const PERF_COUNTERSET_FLAG_INSTANCE: u32 = 16u32; | |
598 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
599 | pub const PERF_COUNTERSET_FLAG_MULTIPLE: u32 = 2u32; | |
600 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
601 | pub const PERF_COUNTERSET_MULTI_INSTANCES: u32 = 2u32; | |
602 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
603 | pub const PERF_COUNTERSET_SINGLE_AGGREGATE: u32 = 4u32; | |
604 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
605 | pub const PERF_COUNTERSET_SINGLE_INSTANCE: u32 = 0u32; | |
606 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
607 | pub const PERF_COUNTER_BASE: u32 = 196608u32; | |
608 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
609 | pub const PERF_COUNTER_ELAPSED: u32 = 262144u32; | |
610 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
611 | pub const PERF_COUNTER_FRACTION: u32 = 131072u32; | |
612 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
613 | pub const PERF_COUNTER_HISTOGRAM: u32 = 393216u32; | |
614 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
615 | pub const PERF_COUNTER_HISTOGRAM_TYPE: u32 = 2147483648u32; | |
616 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
617 | pub const PERF_COUNTER_PRECISION: u32 = 458752u32; | |
618 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
619 | pub const PERF_COUNTER_QUEUELEN: u32 = 327680u32; | |
620 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
621 | pub const PERF_COUNTER_RATE: u32 = 65536u32; | |
622 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
623 | pub const PERF_COUNTER_VALUE: u32 = 0u32; | |
624 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
625 | pub const PERF_DATA_REVISION: u32 = 1u32; | |
626 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
627 | pub const PERF_DATA_VERSION: u32 = 1u32; | |
628 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
629 | pub const PERF_DELTA_BASE: u32 = 8388608u32; | |
630 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
631 | pub const PERF_DELTA_COUNTER: u32 = 4194304u32; | |
632 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
633 | pub const PERF_DISPLAY_NOSHOW: u32 = 1073741824u32; | |
634 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
635 | pub const PERF_DISPLAY_NO_SUFFIX: u32 = 0u32; | |
636 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
637 | pub const PERF_DISPLAY_PERCENT: u32 = 536870912u32; | |
638 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
639 | pub const PERF_DISPLAY_PER_SEC: u32 = 268435456u32; | |
640 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
641 | pub const PERF_DISPLAY_SECONDS: u32 = 805306368u32; | |
642 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
643 | pub const PERF_ENUM_INSTANCES: u32 = 3u32; | |
644 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
645 | pub const PERF_FILTER: u32 = 9u32; | |
646 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
647 | pub const PERF_INVERSE_COUNTER: u32 = 16777216u32; | |
648 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
649 | pub const PERF_MAX_INSTANCE_NAME: u32 = 1024u32; | |
650 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
651 | pub const PERF_METADATA_MULTIPLE_INSTANCES: i32 = -2i32; | |
652 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
653 | pub const PERF_METADATA_NO_INSTANCES: i32 = -3i32; | |
654 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
655 | pub const PERF_MULTI_COUNTER: u32 = 33554432u32; | |
656 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
657 | pub const PERF_NO_INSTANCES: i32 = -1i32; | |
658 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
659 | pub const PERF_NO_UNIQUE_ID: i32 = -1i32; | |
660 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
661 | pub const PERF_NUMBER_DECIMAL: u32 = 65536u32; | |
662 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
663 | pub const PERF_NUMBER_DEC_1000: u32 = 131072u32; | |
664 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
665 | pub const PERF_NUMBER_HEX: u32 = 0u32; | |
666 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
667 | pub const PERF_OBJECT_TIMER: u32 = 2097152u32; | |
668 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
669 | pub const PERF_PROVIDER_DRIVER: u32 = 2u32; | |
670 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
671 | pub const PERF_PROVIDER_KERNEL_MODE: u32 = 1u32; | |
672 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
673 | pub const PERF_PROVIDER_USER_MODE: u32 = 0u32; | |
674 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
675 | pub const PERF_REMOVE_COUNTER: u32 = 2u32; | |
676 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
677 | pub const PERF_SIZE_DWORD: u32 = 0u32; | |
678 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
679 | pub const PERF_SIZE_LARGE: u32 = 256u32; | |
680 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
681 | pub const PERF_SIZE_VARIABLE_LEN: u32 = 768u32; | |
682 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
683 | pub const PERF_SIZE_ZERO: u32 = 512u32; | |
684 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
685 | pub const PERF_TEXT_ASCII: u32 = 65536u32; | |
686 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
687 | pub const PERF_TEXT_UNICODE: u32 = 0u32; | |
688 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
689 | pub const PERF_TIMER_100NS: u32 = 1048576u32; | |
690 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
691 | pub const PERF_TIMER_TICK: u32 = 0u32; | |
692 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
693 | pub const PERF_TYPE_COUNTER: u32 = 1024u32; | |
694 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
695 | pub const PERF_TYPE_NUMBER: u32 = 0u32; | |
696 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
697 | pub const PERF_TYPE_TEXT: u32 = 2048u32; | |
698 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
699 | pub const PERF_TYPE_ZERO: u32 = 3072u32; | |
700 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
701 | pub const PERF_WILDCARD_COUNTER: u32 = 4294967295u32; | |
702 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
703 | pub const PERF_WILDCARD_INSTANCE: &str = "*"; | |
704 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
705 | pub const PLA_CAPABILITY_AUTOLOGGER: u32 = 32u32; | |
706 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
707 | pub const PLA_CAPABILITY_LEGACY_SESSION: u32 = 8u32; | |
708 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
709 | pub const PLA_CAPABILITY_LEGACY_SVC: u32 = 16u32; | |
710 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
711 | pub const PLA_CAPABILITY_LOCAL: u32 = 268435456u32; | |
712 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
713 | pub const PLA_CAPABILITY_V1_SESSION: u32 = 2u32; | |
714 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
715 | pub const PLA_CAPABILITY_V1_SVC: u32 = 1u32; | |
716 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
717 | pub const PLA_CAPABILITY_V1_SYSTEM: u32 = 4u32; | |
718 | pub const S_PDH: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 81159000, data2: 50337, data3: 16795, data4: [128, 35, 35, 183, 57, 2, 222, 44] }; | |
719 | pub const ServerDataCollectorSet: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946865, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
720 | pub const ServerDataCollectorSetCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946866, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
721 | pub const SourcePropPage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 217262753, data2: 30065, data3: 4560, data4: [147, 196, 0, 170, 0, 163, 221, 234] }; | |
722 | pub const SystemDataCollectorSet: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946886, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
723 | pub const SystemDataCollectorSetCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946887, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
724 | pub const SystemMonitor: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3302152416, data2: 53725, data3: 4558, data4: [148, 15, 0, 128, 41, 0, 67, 71] }; | |
725 | pub const SystemMonitor2: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2133874572, data2: 24376, data3: 17938, data4: [172, 254, 110, 208, 76, 123, 122, 248] }; | |
726 | pub const TraceDataProvider: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946835, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
727 | pub const TraceDataProviderCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946833, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
728 | pub const TraceSession: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946844, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
729 | pub const TraceSessionCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 58946864, data2: 2443, data3: 4568, data4: [148, 20, 80, 80, 84, 80, 48, 48] }; | |
730 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
731 | pub const WINPERF_LOG_DEBUG: u32 = 2u32; | |
732 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
733 | pub const WINPERF_LOG_NONE: u32 = 0u32; | |
734 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
735 | pub const WINPERF_LOG_USER: u32 = 1u32; | |
736 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
737 | pub const WINPERF_LOG_VERBOSE: u32 = 3u32; | |
04454e1e | 738 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 739 | pub type AutoPathFormat = i32; |
04454e1e | 740 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 741 | pub const plaNone: AutoPathFormat = 0i32; |
04454e1e | 742 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 743 | pub const plaPattern: AutoPathFormat = 1i32; |
04454e1e | 744 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 745 | pub const plaComputer: AutoPathFormat = 2i32; |
04454e1e | 746 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 747 | pub const plaMonthDayHour: AutoPathFormat = 256i32; |
04454e1e | 748 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 749 | pub const plaSerialNumber: AutoPathFormat = 512i32; |
04454e1e | 750 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 751 | pub const plaYearDayOfYear: AutoPathFormat = 1024i32; |
04454e1e | 752 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 753 | pub const plaYearMonth: AutoPathFormat = 2048i32; |
04454e1e | 754 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 755 | pub const plaYearMonthDay: AutoPathFormat = 4096i32; |
04454e1e | 756 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 757 | pub const plaYearMonthDayHour: AutoPathFormat = 8192i32; |
04454e1e | 758 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 759 | pub const plaMonthDayHourMinute: AutoPathFormat = 16384i32; |
04454e1e | 760 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 761 | pub type ClockType = i32; |
04454e1e | 762 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 763 | pub const plaTimeStamp: ClockType = 0i32; |
04454e1e | 764 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 765 | pub const plaPerformance: ClockType = 1i32; |
04454e1e | 766 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 767 | pub const plaSystem: ClockType = 2i32; |
04454e1e | 768 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 769 | pub const plaCycle: ClockType = 3i32; |
04454e1e | 770 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 771 | pub type CommitMode = i32; |
04454e1e | 772 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 773 | pub const plaCreateNew: CommitMode = 1i32; |
04454e1e | 774 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 775 | pub const plaModify: CommitMode = 2i32; |
04454e1e | 776 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 777 | pub const plaCreateOrModify: CommitMode = 3i32; |
04454e1e | 778 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 779 | pub const plaUpdateRunningInstance: CommitMode = 16i32; |
04454e1e | 780 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 781 | pub const plaFlushTrace: CommitMode = 32i32; |
04454e1e | 782 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 783 | pub const plaValidateOnly: CommitMode = 4096i32; |
04454e1e | 784 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 FG |
785 | pub type DataCollectorSetStatus = i32; |
786 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
787 | pub const plaStopped: DataCollectorSetStatus = 0i32; | |
788 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
789 | pub const plaRunning: DataCollectorSetStatus = 1i32; | |
790 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
791 | pub const plaCompiling: DataCollectorSetStatus = 2i32; | |
792 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
793 | pub const plaPending: DataCollectorSetStatus = 3i32; | |
794 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
795 | pub const plaUndefined: DataCollectorSetStatus = 4i32; | |
796 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
797 | pub type DataCollectorType = i32; | |
798 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
799 | pub const plaPerformanceCounter: DataCollectorType = 0i32; | |
800 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
801 | pub const plaTrace: DataCollectorType = 1i32; | |
802 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
803 | pub const plaConfiguration: DataCollectorType = 2i32; | |
804 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
805 | pub const plaAlert: DataCollectorType = 3i32; | |
806 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
807 | pub const plaApiTrace: DataCollectorType = 4i32; | |
808 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
809 | pub type DataManagerSteps = i32; | |
810 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
811 | pub const plaCreateReport: DataManagerSteps = 1i32; | |
812 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
813 | pub const plaRunRules: DataManagerSteps = 2i32; | |
814 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
815 | pub const plaCreateHtml: DataManagerSteps = 4i32; | |
816 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
817 | pub const plaFolderActions: DataManagerSteps = 8i32; | |
818 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
819 | pub const plaResourceFreeing: DataManagerSteps = 16i32; | |
820 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
821 | pub type DataSourceTypeConstants = i32; | |
822 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
823 | pub const sysmonNullDataSource: DataSourceTypeConstants = -1i32; | |
824 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
825 | pub const sysmonCurrentActivity: DataSourceTypeConstants = 1i32; | |
826 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
827 | pub const sysmonLogFiles: DataSourceTypeConstants = 2i32; | |
828 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
829 | pub const sysmonSqlLog: DataSourceTypeConstants = 3i32; | |
830 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
831 | pub type DisplayTypeConstants = i32; | |
832 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
833 | pub const sysmonLineGraph: DisplayTypeConstants = 1i32; | |
834 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
835 | pub const sysmonHistogram: DisplayTypeConstants = 2i32; | |
836 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
837 | pub const sysmonReport: DisplayTypeConstants = 3i32; | |
838 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
839 | pub const sysmonChartArea: DisplayTypeConstants = 4i32; | |
840 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
841 | pub const sysmonChartStackedArea: DisplayTypeConstants = 5i32; | |
842 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
843 | pub type FileFormat = i32; | |
844 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
845 | pub const plaCommaSeparated: FileFormat = 0i32; | |
846 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
847 | pub const plaTabSeparated: FileFormat = 1i32; | |
848 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
849 | pub const plaSql: FileFormat = 2i32; | |
850 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
851 | pub const plaBinary: FileFormat = 3i32; | |
852 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
853 | pub type FolderActionSteps = i32; | |
854 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
855 | pub const plaCreateCab: FolderActionSteps = 1i32; | |
856 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
857 | pub const plaDeleteData: FolderActionSteps = 2i32; | |
858 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
859 | pub const plaSendCab: FolderActionSteps = 4i32; | |
860 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
861 | pub const plaDeleteCab: FolderActionSteps = 8i32; | |
862 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
863 | pub const plaDeleteReport: FolderActionSteps = 16i32; | |
864 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
865 | pub type PDH_DLL_VERSION = u32; | |
866 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
867 | pub const PDH_CVERSION_WIN50: PDH_DLL_VERSION = 1280u32; | |
868 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
869 | pub const PDH_VERSION: PDH_DLL_VERSION = 1283u32; | |
870 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
871 | pub type PDH_FMT = u32; | |
872 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
873 | pub const PDH_FMT_DOUBLE: PDH_FMT = 512u32; | |
874 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
875 | pub const PDH_FMT_LARGE: PDH_FMT = 1024u32; | |
876 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
877 | pub const PDH_FMT_LONG: PDH_FMT = 256u32; | |
878 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
879 | pub type PDH_LOG = u32; | |
880 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
881 | pub const PDH_LOG_READ_ACCESS: PDH_LOG = 65536u32; | |
882 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
883 | pub const PDH_LOG_WRITE_ACCESS: PDH_LOG = 131072u32; | |
884 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
885 | pub const PDH_LOG_UPDATE_ACCESS: PDH_LOG = 262144u32; | |
886 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
887 | pub type PDH_LOG_TYPE = u32; | |
888 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
889 | pub const PDH_LOG_TYPE_UNDEFINED: PDH_LOG_TYPE = 0u32; | |
890 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
891 | pub const PDH_LOG_TYPE_CSV: PDH_LOG_TYPE = 1u32; | |
892 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
893 | pub const PDH_LOG_TYPE_SQL: PDH_LOG_TYPE = 7u32; | |
894 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
895 | pub const PDH_LOG_TYPE_TSV: PDH_LOG_TYPE = 2u32; | |
896 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
897 | pub const PDH_LOG_TYPE_BINARY: PDH_LOG_TYPE = 8u32; | |
898 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
899 | pub const PDH_LOG_TYPE_PERFMON: PDH_LOG_TYPE = 6u32; | |
900 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
901 | pub type PDH_PATH_FLAGS = u32; | |
902 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
903 | pub const PDH_PATH_WBEM_RESULT: PDH_PATH_FLAGS = 1u32; | |
904 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
905 | pub const PDH_PATH_WBEM_INPUT: PDH_PATH_FLAGS = 2u32; | |
906 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
907 | pub const PDH_PATH_WBEM_NONE: PDH_PATH_FLAGS = 0u32; | |
908 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
909 | pub type PDH_SELECT_DATA_SOURCE_FLAGS = u32; | |
910 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
911 | pub const PDH_FLAGS_FILE_BROWSER_ONLY: PDH_SELECT_DATA_SOURCE_FLAGS = 1u32; | |
912 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
913 | pub const PDH_FLAGS_NONE: PDH_SELECT_DATA_SOURCE_FLAGS = 0u32; | |
914 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
915 | pub type PERF_COUNTER_AGGREGATE_FUNC = u32; | |
916 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
917 | pub const PERF_AGGREGATE_UNDEFINED: PERF_COUNTER_AGGREGATE_FUNC = 0u32; | |
918 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
919 | pub const PERF_AGGREGATE_TOTAL: PERF_COUNTER_AGGREGATE_FUNC = 1u32; | |
920 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
921 | pub const PERF_AGGREGATE_AVG: PERF_COUNTER_AGGREGATE_FUNC = 2u32; | |
922 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
923 | pub const PERF_AGGREGATE_MIN: PERF_COUNTER_AGGREGATE_FUNC = 3u32; | |
924 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
925 | pub type PERF_DETAIL = u32; | |
926 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
927 | pub const PERF_DETAIL_NOVICE: PERF_DETAIL = 100u32; | |
928 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
929 | pub const PERF_DETAIL_ADVANCED: PERF_DETAIL = 200u32; | |
930 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
931 | pub const PERF_DETAIL_EXPERT: PERF_DETAIL = 300u32; | |
932 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
933 | pub const PERF_DETAIL_WIZARD: PERF_DETAIL = 400u32; | |
934 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
935 | pub type PerfCounterDataType = i32; | |
936 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
937 | pub const PERF_ERROR_RETURN: PerfCounterDataType = 0i32; | |
938 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
939 | pub const PERF_SINGLE_COUNTER: PerfCounterDataType = 1i32; | |
940 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
941 | pub const PERF_MULTIPLE_COUNTERS: PerfCounterDataType = 2i32; | |
942 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
943 | pub const PERF_MULTIPLE_INSTANCES: PerfCounterDataType = 4i32; | |
944 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
945 | pub const PERF_COUNTERSET: PerfCounterDataType = 6i32; | |
946 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
947 | pub type PerfRegInfoType = i32; | |
948 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
949 | pub const PERF_REG_COUNTERSET_STRUCT: PerfRegInfoType = 1i32; | |
950 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
951 | pub const PERF_REG_COUNTER_STRUCT: PerfRegInfoType = 2i32; | |
952 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
953 | pub const PERF_REG_COUNTERSET_NAME_STRING: PerfRegInfoType = 3i32; | |
954 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
955 | pub const PERF_REG_COUNTERSET_HELP_STRING: PerfRegInfoType = 4i32; | |
956 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
957 | pub const PERF_REG_COUNTER_NAME_STRINGS: PerfRegInfoType = 5i32; | |
958 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
959 | pub const PERF_REG_COUNTER_HELP_STRINGS: PerfRegInfoType = 6i32; | |
960 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
961 | pub const PERF_REG_PROVIDER_NAME: PerfRegInfoType = 7i32; | |
962 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
963 | pub const PERF_REG_PROVIDER_GUID: PerfRegInfoType = 8i32; | |
964 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
965 | pub const PERF_REG_COUNTERSET_ENGLISH_NAME: PerfRegInfoType = 9i32; | |
966 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
967 | pub const PERF_REG_COUNTER_ENGLISH_NAMES: PerfRegInfoType = 10i32; | |
04454e1e | 968 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 969 | pub type REAL_TIME_DATA_SOURCE_ID_FLAGS = u32; |
04454e1e | 970 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 971 | pub const DATA_SOURCE_REGISTRY: REAL_TIME_DATA_SOURCE_ID_FLAGS = 1u32; |
04454e1e | 972 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 973 | pub const DATA_SOURCE_WBEM: REAL_TIME_DATA_SOURCE_ID_FLAGS = 4u32; |
04454e1e | 974 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 975 | pub type ReportValueTypeConstants = i32; |
04454e1e | 976 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 977 | pub const sysmonDefaultValue: ReportValueTypeConstants = 0i32; |
04454e1e | 978 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 979 | pub const sysmonCurrentValue: ReportValueTypeConstants = 1i32; |
04454e1e | 980 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 981 | pub const sysmonAverage: ReportValueTypeConstants = 2i32; |
04454e1e | 982 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 983 | pub const sysmonMinimum: ReportValueTypeConstants = 3i32; |
04454e1e | 984 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 985 | pub const sysmonMaximum: ReportValueTypeConstants = 4i32; |
04454e1e | 986 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 987 | pub type ResourcePolicy = i32; |
04454e1e | 988 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 989 | pub const plaDeleteLargest: ResourcePolicy = 0i32; |
04454e1e | 990 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 991 | pub const plaDeleteOldest: ResourcePolicy = 1i32; |
04454e1e | 992 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 993 | pub type StreamMode = i32; |
04454e1e | 994 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 995 | pub const plaFile: StreamMode = 1i32; |
04454e1e | 996 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 997 | pub const plaRealTime: StreamMode = 2i32; |
04454e1e | 998 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 999 | pub const plaBoth: StreamMode = 3i32; |
04454e1e | 1000 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1001 | pub const plaBuffering: StreamMode = 4i32; |
04454e1e | 1002 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1003 | pub type SysmonBatchReason = i32; |
04454e1e | 1004 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1005 | pub const sysmonBatchNone: SysmonBatchReason = 0i32; |
04454e1e | 1006 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1007 | pub const sysmonBatchAddFiles: SysmonBatchReason = 1i32; |
04454e1e | 1008 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1009 | pub const sysmonBatchAddCounters: SysmonBatchReason = 2i32; |
04454e1e | 1010 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1011 | pub const sysmonBatchAddFilesAutoCounters: SysmonBatchReason = 3i32; |
04454e1e | 1012 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1013 | pub type SysmonDataType = i32; |
04454e1e | 1014 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1015 | pub const sysmonDataAvg: SysmonDataType = 1i32; |
04454e1e | 1016 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1017 | pub const sysmonDataMin: SysmonDataType = 2i32; |
04454e1e | 1018 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1019 | pub const sysmonDataMax: SysmonDataType = 3i32; |
04454e1e | 1020 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1021 | pub const sysmonDataTime: SysmonDataType = 4i32; |
04454e1e | 1022 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1023 | pub const sysmonDataCount: SysmonDataType = 5i32; |
04454e1e | 1024 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1025 | pub type SysmonFileType = i32; |
04454e1e | 1026 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1027 | pub const sysmonFileHtml: SysmonFileType = 1i32; |
04454e1e | 1028 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1029 | pub const sysmonFileReport: SysmonFileType = 2i32; |
04454e1e | 1030 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1031 | pub const sysmonFileCsv: SysmonFileType = 3i32; |
04454e1e | 1032 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1033 | pub const sysmonFileTsv: SysmonFileType = 4i32; |
04454e1e | 1034 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1035 | pub const sysmonFileBlg: SysmonFileType = 5i32; |
04454e1e | 1036 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1037 | pub const sysmonFileRetiredBlg: SysmonFileType = 6i32; |
04454e1e | 1038 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1039 | pub const sysmonFileGif: SysmonFileType = 7i32; |
04454e1e | 1040 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1041 | pub type ValueMapType = i32; |
04454e1e | 1042 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1043 | pub const plaIndex: ValueMapType = 1i32; |
04454e1e | 1044 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1045 | pub const plaFlag: ValueMapType = 2i32; |
04454e1e | 1046 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1047 | pub const plaFlagArray: ValueMapType = 3i32; |
04454e1e | 1048 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1049 | pub const plaValidation: ValueMapType = 4i32; |
04454e1e | 1050 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1051 | pub type WeekDays = i32; |
04454e1e | 1052 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1053 | pub const plaRunOnce: WeekDays = 0i32; |
04454e1e | 1054 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1055 | pub const plaSunday: WeekDays = 1i32; |
04454e1e | 1056 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 1057 | pub const plaMonday: WeekDays = 2i32; |
04454e1e | 1058 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 FG |
1059 | pub const plaTuesday: WeekDays = 4i32; |
1060 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
1061 | pub const plaWednesday: WeekDays = 8i32; | |
1062 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
1063 | pub const plaThursday: WeekDays = 16i32; | |
1064 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
1065 | pub const plaFriday: WeekDays = 32i32; | |
1066 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
1067 | pub const plaSaturday: WeekDays = 64i32; | |
1068 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
1069 | pub const plaEveryday: WeekDays = 127i32; | |
5e7ed085 | 1070 | #[repr(C)] |
04454e1e | 1071 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1072 | #[cfg(feature = "Win32_Foundation")] |
1073 | pub struct PDH_BROWSE_DLG_CONFIG_A { | |
1074 | pub _bitfield: u32, | |
1075 | pub hWndOwner: super::super::Foundation::HWND, | |
04454e1e FG |
1076 | pub szDataSource: ::windows_sys::core::PSTR, |
1077 | pub szReturnPathBuffer: ::windows_sys::core::PSTR, | |
5e7ed085 FG |
1078 | pub cchReturnPathLength: u32, |
1079 | pub pCallBack: CounterPathCallBack, | |
1080 | pub dwCallBackArg: usize, | |
1081 | pub CallBackStatus: i32, | |
1082 | pub dwDefaultDetailLevel: PERF_DETAIL, | |
04454e1e | 1083 | pub szDialogBoxCaption: ::windows_sys::core::PSTR, |
5e7ed085 FG |
1084 | } |
1085 | #[cfg(feature = "Win32_Foundation")] | |
1086 | impl ::core::marker::Copy for PDH_BROWSE_DLG_CONFIG_A {} | |
1087 | #[cfg(feature = "Win32_Foundation")] | |
1088 | impl ::core::clone::Clone for PDH_BROWSE_DLG_CONFIG_A { | |
1089 | fn clone(&self) -> Self { | |
1090 | *self | |
1091 | } | |
1092 | } | |
1093 | #[repr(C)] | |
04454e1e | 1094 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1095 | #[cfg(feature = "Win32_Foundation")] |
1096 | pub struct PDH_BROWSE_DLG_CONFIG_HA { | |
1097 | pub _bitfield: u32, | |
1098 | pub hWndOwner: super::super::Foundation::HWND, | |
1099 | pub hDataSource: isize, | |
04454e1e | 1100 | pub szReturnPathBuffer: ::windows_sys::core::PSTR, |
5e7ed085 FG |
1101 | pub cchReturnPathLength: u32, |
1102 | pub pCallBack: CounterPathCallBack, | |
1103 | pub dwCallBackArg: usize, | |
1104 | pub CallBackStatus: i32, | |
1105 | pub dwDefaultDetailLevel: PERF_DETAIL, | |
04454e1e | 1106 | pub szDialogBoxCaption: ::windows_sys::core::PSTR, |
5e7ed085 FG |
1107 | } |
1108 | #[cfg(feature = "Win32_Foundation")] | |
1109 | impl ::core::marker::Copy for PDH_BROWSE_DLG_CONFIG_HA {} | |
1110 | #[cfg(feature = "Win32_Foundation")] | |
1111 | impl ::core::clone::Clone for PDH_BROWSE_DLG_CONFIG_HA { | |
1112 | fn clone(&self) -> Self { | |
1113 | *self | |
1114 | } | |
1115 | } | |
1116 | #[repr(C)] | |
04454e1e | 1117 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1118 | #[cfg(feature = "Win32_Foundation")] |
1119 | pub struct PDH_BROWSE_DLG_CONFIG_HW { | |
1120 | pub _bitfield: u32, | |
1121 | pub hWndOwner: super::super::Foundation::HWND, | |
1122 | pub hDataSource: isize, | |
04454e1e | 1123 | pub szReturnPathBuffer: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
1124 | pub cchReturnPathLength: u32, |
1125 | pub pCallBack: CounterPathCallBack, | |
1126 | pub dwCallBackArg: usize, | |
1127 | pub CallBackStatus: i32, | |
1128 | pub dwDefaultDetailLevel: PERF_DETAIL, | |
04454e1e | 1129 | pub szDialogBoxCaption: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
1130 | } |
1131 | #[cfg(feature = "Win32_Foundation")] | |
1132 | impl ::core::marker::Copy for PDH_BROWSE_DLG_CONFIG_HW {} | |
1133 | #[cfg(feature = "Win32_Foundation")] | |
1134 | impl ::core::clone::Clone for PDH_BROWSE_DLG_CONFIG_HW { | |
1135 | fn clone(&self) -> Self { | |
1136 | *self | |
1137 | } | |
1138 | } | |
1139 | #[repr(C)] | |
04454e1e | 1140 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1141 | #[cfg(feature = "Win32_Foundation")] |
1142 | pub struct PDH_BROWSE_DLG_CONFIG_W { | |
1143 | pub _bitfield: u32, | |
1144 | pub hWndOwner: super::super::Foundation::HWND, | |
04454e1e FG |
1145 | pub szDataSource: ::windows_sys::core::PWSTR, |
1146 | pub szReturnPathBuffer: ::windows_sys::core::PWSTR, | |
5e7ed085 FG |
1147 | pub cchReturnPathLength: u32, |
1148 | pub pCallBack: CounterPathCallBack, | |
1149 | pub dwCallBackArg: usize, | |
1150 | pub CallBackStatus: i32, | |
1151 | pub dwDefaultDetailLevel: PERF_DETAIL, | |
04454e1e | 1152 | pub szDialogBoxCaption: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
1153 | } |
1154 | #[cfg(feature = "Win32_Foundation")] | |
1155 | impl ::core::marker::Copy for PDH_BROWSE_DLG_CONFIG_W {} | |
1156 | #[cfg(feature = "Win32_Foundation")] | |
1157 | impl ::core::clone::Clone for PDH_BROWSE_DLG_CONFIG_W { | |
1158 | fn clone(&self) -> Self { | |
1159 | *self | |
1160 | } | |
1161 | } | |
5e7ed085 | 1162 | #[repr(C)] |
04454e1e | 1163 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1164 | pub struct PDH_COUNTER_INFO_A { |
1165 | pub dwLength: u32, | |
1166 | pub dwType: u32, | |
1167 | pub CVersion: u32, | |
1168 | pub CStatus: u32, | |
1169 | pub lScale: i32, | |
1170 | pub lDefaultScale: i32, | |
1171 | pub dwUserData: usize, | |
1172 | pub dwQueryUserData: usize, | |
04454e1e | 1173 | pub szFullPath: ::windows_sys::core::PSTR, |
5e7ed085 | 1174 | pub Anonymous: PDH_COUNTER_INFO_A_0, |
04454e1e | 1175 | pub szExplainText: ::windows_sys::core::PSTR, |
5e7ed085 FG |
1176 | pub DataBuffer: [u32; 1], |
1177 | } | |
5e7ed085 | 1178 | impl ::core::marker::Copy for PDH_COUNTER_INFO_A {} |
5e7ed085 FG |
1179 | impl ::core::clone::Clone for PDH_COUNTER_INFO_A { |
1180 | fn clone(&self) -> Self { | |
1181 | *self | |
1182 | } | |
1183 | } | |
1184 | #[repr(C)] | |
04454e1e | 1185 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1186 | pub union PDH_COUNTER_INFO_A_0 { |
1187 | pub DataItemPath: PDH_DATA_ITEM_PATH_ELEMENTS_A, | |
1188 | pub CounterPath: PDH_COUNTER_PATH_ELEMENTS_A, | |
1189 | pub Anonymous: PDH_COUNTER_INFO_A_0_0, | |
1190 | } | |
5e7ed085 | 1191 | impl ::core::marker::Copy for PDH_COUNTER_INFO_A_0 {} |
5e7ed085 FG |
1192 | impl ::core::clone::Clone for PDH_COUNTER_INFO_A_0 { |
1193 | fn clone(&self) -> Self { | |
1194 | *self | |
1195 | } | |
1196 | } | |
1197 | #[repr(C)] | |
04454e1e | 1198 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 1199 | pub struct PDH_COUNTER_INFO_A_0_0 { |
04454e1e FG |
1200 | pub szMachineName: ::windows_sys::core::PSTR, |
1201 | pub szObjectName: ::windows_sys::core::PSTR, | |
1202 | pub szInstanceName: ::windows_sys::core::PSTR, | |
1203 | pub szParentInstance: ::windows_sys::core::PSTR, | |
5e7ed085 | 1204 | pub dwInstanceIndex: u32, |
04454e1e | 1205 | pub szCounterName: ::windows_sys::core::PSTR, |
5e7ed085 | 1206 | } |
5e7ed085 | 1207 | impl ::core::marker::Copy for PDH_COUNTER_INFO_A_0_0 {} |
5e7ed085 FG |
1208 | impl ::core::clone::Clone for PDH_COUNTER_INFO_A_0_0 { |
1209 | fn clone(&self) -> Self { | |
1210 | *self | |
1211 | } | |
1212 | } | |
1213 | #[repr(C)] | |
04454e1e | 1214 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1215 | pub struct PDH_COUNTER_INFO_W { |
1216 | pub dwLength: u32, | |
1217 | pub dwType: u32, | |
1218 | pub CVersion: u32, | |
1219 | pub CStatus: u32, | |
1220 | pub lScale: i32, | |
1221 | pub lDefaultScale: i32, | |
1222 | pub dwUserData: usize, | |
1223 | pub dwQueryUserData: usize, | |
04454e1e | 1224 | pub szFullPath: ::windows_sys::core::PWSTR, |
5e7ed085 | 1225 | pub Anonymous: PDH_COUNTER_INFO_W_0, |
04454e1e | 1226 | pub szExplainText: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
1227 | pub DataBuffer: [u32; 1], |
1228 | } | |
5e7ed085 | 1229 | impl ::core::marker::Copy for PDH_COUNTER_INFO_W {} |
5e7ed085 FG |
1230 | impl ::core::clone::Clone for PDH_COUNTER_INFO_W { |
1231 | fn clone(&self) -> Self { | |
1232 | *self | |
1233 | } | |
1234 | } | |
1235 | #[repr(C)] | |
04454e1e | 1236 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1237 | pub union PDH_COUNTER_INFO_W_0 { |
1238 | pub DataItemPath: PDH_DATA_ITEM_PATH_ELEMENTS_W, | |
1239 | pub CounterPath: PDH_COUNTER_PATH_ELEMENTS_W, | |
1240 | pub Anonymous: PDH_COUNTER_INFO_W_0_0, | |
1241 | } | |
5e7ed085 | 1242 | impl ::core::marker::Copy for PDH_COUNTER_INFO_W_0 {} |
5e7ed085 FG |
1243 | impl ::core::clone::Clone for PDH_COUNTER_INFO_W_0 { |
1244 | fn clone(&self) -> Self { | |
1245 | *self | |
1246 | } | |
1247 | } | |
1248 | #[repr(C)] | |
04454e1e | 1249 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 1250 | pub struct PDH_COUNTER_INFO_W_0_0 { |
04454e1e FG |
1251 | pub szMachineName: ::windows_sys::core::PWSTR, |
1252 | pub szObjectName: ::windows_sys::core::PWSTR, | |
1253 | pub szInstanceName: ::windows_sys::core::PWSTR, | |
1254 | pub szParentInstance: ::windows_sys::core::PWSTR, | |
5e7ed085 | 1255 | pub dwInstanceIndex: u32, |
04454e1e | 1256 | pub szCounterName: ::windows_sys::core::PWSTR, |
5e7ed085 | 1257 | } |
5e7ed085 | 1258 | impl ::core::marker::Copy for PDH_COUNTER_INFO_W_0_0 {} |
5e7ed085 FG |
1259 | impl ::core::clone::Clone for PDH_COUNTER_INFO_W_0_0 { |
1260 | fn clone(&self) -> Self { | |
1261 | *self | |
1262 | } | |
1263 | } | |
1264 | #[repr(C)] | |
04454e1e | 1265 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 1266 | pub struct PDH_COUNTER_PATH_ELEMENTS_A { |
04454e1e FG |
1267 | pub szMachineName: ::windows_sys::core::PSTR, |
1268 | pub szObjectName: ::windows_sys::core::PSTR, | |
1269 | pub szInstanceName: ::windows_sys::core::PSTR, | |
1270 | pub szParentInstance: ::windows_sys::core::PSTR, | |
5e7ed085 | 1271 | pub dwInstanceIndex: u32, |
04454e1e | 1272 | pub szCounterName: ::windows_sys::core::PSTR, |
5e7ed085 | 1273 | } |
5e7ed085 | 1274 | impl ::core::marker::Copy for PDH_COUNTER_PATH_ELEMENTS_A {} |
5e7ed085 FG |
1275 | impl ::core::clone::Clone for PDH_COUNTER_PATH_ELEMENTS_A { |
1276 | fn clone(&self) -> Self { | |
1277 | *self | |
1278 | } | |
1279 | } | |
1280 | #[repr(C)] | |
04454e1e | 1281 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 1282 | pub struct PDH_COUNTER_PATH_ELEMENTS_W { |
04454e1e FG |
1283 | pub szMachineName: ::windows_sys::core::PWSTR, |
1284 | pub szObjectName: ::windows_sys::core::PWSTR, | |
1285 | pub szInstanceName: ::windows_sys::core::PWSTR, | |
1286 | pub szParentInstance: ::windows_sys::core::PWSTR, | |
5e7ed085 | 1287 | pub dwInstanceIndex: u32, |
04454e1e | 1288 | pub szCounterName: ::windows_sys::core::PWSTR, |
5e7ed085 | 1289 | } |
5e7ed085 | 1290 | impl ::core::marker::Copy for PDH_COUNTER_PATH_ELEMENTS_W {} |
5e7ed085 FG |
1291 | impl ::core::clone::Clone for PDH_COUNTER_PATH_ELEMENTS_W { |
1292 | fn clone(&self) -> Self { | |
1293 | *self | |
1294 | } | |
1295 | } | |
5e7ed085 | 1296 | #[repr(C)] |
04454e1e | 1297 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 1298 | pub struct PDH_DATA_ITEM_PATH_ELEMENTS_A { |
04454e1e | 1299 | pub szMachineName: ::windows_sys::core::PSTR, |
5e7ed085 FG |
1300 | pub ObjectGUID: ::windows_sys::core::GUID, |
1301 | pub dwItemId: u32, | |
04454e1e | 1302 | pub szInstanceName: ::windows_sys::core::PSTR, |
5e7ed085 | 1303 | } |
5e7ed085 | 1304 | impl ::core::marker::Copy for PDH_DATA_ITEM_PATH_ELEMENTS_A {} |
5e7ed085 FG |
1305 | impl ::core::clone::Clone for PDH_DATA_ITEM_PATH_ELEMENTS_A { |
1306 | fn clone(&self) -> Self { | |
1307 | *self | |
1308 | } | |
1309 | } | |
1310 | #[repr(C)] | |
04454e1e | 1311 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 1312 | pub struct PDH_DATA_ITEM_PATH_ELEMENTS_W { |
04454e1e | 1313 | pub szMachineName: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
1314 | pub ObjectGUID: ::windows_sys::core::GUID, |
1315 | pub dwItemId: u32, | |
04454e1e | 1316 | pub szInstanceName: ::windows_sys::core::PWSTR, |
5e7ed085 | 1317 | } |
5e7ed085 | 1318 | impl ::core::marker::Copy for PDH_DATA_ITEM_PATH_ELEMENTS_W {} |
5e7ed085 FG |
1319 | impl ::core::clone::Clone for PDH_DATA_ITEM_PATH_ELEMENTS_W { |
1320 | fn clone(&self) -> Self { | |
1321 | *self | |
1322 | } | |
1323 | } | |
5e7ed085 | 1324 | #[repr(C)] |
04454e1e | 1325 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1326 | pub struct PDH_FMT_COUNTERVALUE { |
1327 | pub CStatus: u32, | |
1328 | pub Anonymous: PDH_FMT_COUNTERVALUE_0, | |
1329 | } | |
5e7ed085 | 1330 | impl ::core::marker::Copy for PDH_FMT_COUNTERVALUE {} |
5e7ed085 FG |
1331 | impl ::core::clone::Clone for PDH_FMT_COUNTERVALUE { |
1332 | fn clone(&self) -> Self { | |
1333 | *self | |
1334 | } | |
1335 | } | |
1336 | #[repr(C)] | |
04454e1e | 1337 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1338 | pub union PDH_FMT_COUNTERVALUE_0 { |
1339 | pub longValue: i32, | |
1340 | pub doubleValue: f64, | |
1341 | pub largeValue: i64, | |
04454e1e FG |
1342 | pub AnsiStringValue: ::windows_sys::core::PCSTR, |
1343 | pub WideStringValue: ::windows_sys::core::PCWSTR, | |
5e7ed085 | 1344 | } |
5e7ed085 | 1345 | impl ::core::marker::Copy for PDH_FMT_COUNTERVALUE_0 {} |
5e7ed085 FG |
1346 | impl ::core::clone::Clone for PDH_FMT_COUNTERVALUE_0 { |
1347 | fn clone(&self) -> Self { | |
1348 | *self | |
1349 | } | |
1350 | } | |
1351 | #[repr(C)] | |
04454e1e | 1352 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 1353 | pub struct PDH_FMT_COUNTERVALUE_ITEM_A { |
04454e1e | 1354 | pub szName: ::windows_sys::core::PSTR, |
5e7ed085 FG |
1355 | pub FmtValue: PDH_FMT_COUNTERVALUE, |
1356 | } | |
5e7ed085 | 1357 | impl ::core::marker::Copy for PDH_FMT_COUNTERVALUE_ITEM_A {} |
5e7ed085 FG |
1358 | impl ::core::clone::Clone for PDH_FMT_COUNTERVALUE_ITEM_A { |
1359 | fn clone(&self) -> Self { | |
1360 | *self | |
1361 | } | |
1362 | } | |
1363 | #[repr(C)] | |
04454e1e | 1364 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 FG |
1365 | pub struct PDH_FMT_COUNTERVALUE_ITEM_W { |
1366 | pub szName: ::windows_sys::core::PWSTR, | |
1367 | pub FmtValue: PDH_FMT_COUNTERVALUE, | |
1368 | } | |
1369 | impl ::core::marker::Copy for PDH_FMT_COUNTERVALUE_ITEM_W {} | |
1370 | impl ::core::clone::Clone for PDH_FMT_COUNTERVALUE_ITEM_W { | |
1371 | fn clone(&self) -> Self { | |
1372 | *self | |
1373 | } | |
1374 | } | |
5e7ed085 | 1375 | #[repr(C)] |
04454e1e | 1376 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1377 | #[cfg(feature = "Win32_Foundation")] |
1378 | pub struct PDH_LOG_SERVICE_QUERY_INFO_A { | |
1379 | pub dwSize: u32, | |
1380 | pub dwFlags: u32, | |
1381 | pub dwLogQuota: u32, | |
04454e1e FG |
1382 | pub szLogFileCaption: ::windows_sys::core::PSTR, |
1383 | pub szDefaultDir: ::windows_sys::core::PSTR, | |
1384 | pub szBaseFileName: ::windows_sys::core::PSTR, | |
5e7ed085 FG |
1385 | pub dwFileType: u32, |
1386 | pub dwReserved: u32, | |
1387 | pub Anonymous: PDH_LOG_SERVICE_QUERY_INFO_A_0, | |
1388 | } | |
1389 | #[cfg(feature = "Win32_Foundation")] | |
1390 | impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_A {} | |
1391 | #[cfg(feature = "Win32_Foundation")] | |
1392 | impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_A { | |
1393 | fn clone(&self) -> Self { | |
1394 | *self | |
1395 | } | |
1396 | } | |
1397 | #[repr(C)] | |
04454e1e | 1398 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1399 | #[cfg(feature = "Win32_Foundation")] |
1400 | pub union PDH_LOG_SERVICE_QUERY_INFO_A_0 { | |
1401 | pub Anonymous1: PDH_LOG_SERVICE_QUERY_INFO_A_0_0, | |
1402 | pub Anonymous2: PDH_LOG_SERVICE_QUERY_INFO_A_0_1, | |
1403 | } | |
1404 | #[cfg(feature = "Win32_Foundation")] | |
1405 | impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_A_0 {} | |
1406 | #[cfg(feature = "Win32_Foundation")] | |
1407 | impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_A_0 { | |
1408 | fn clone(&self) -> Self { | |
1409 | *self | |
1410 | } | |
1411 | } | |
1412 | #[repr(C)] | |
04454e1e | 1413 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1414 | #[cfg(feature = "Win32_Foundation")] |
1415 | pub struct PDH_LOG_SERVICE_QUERY_INFO_A_0_0 { | |
1416 | pub PdlAutoNameInterval: u32, | |
1417 | pub PdlAutoNameUnits: u32, | |
04454e1e FG |
1418 | pub PdlCommandFilename: ::windows_sys::core::PSTR, |
1419 | pub PdlCounterList: ::windows_sys::core::PSTR, | |
5e7ed085 FG |
1420 | pub PdlAutoNameFormat: u32, |
1421 | pub PdlSampleInterval: u32, | |
1422 | pub PdlLogStartTime: super::super::Foundation::FILETIME, | |
1423 | pub PdlLogEndTime: super::super::Foundation::FILETIME, | |
1424 | } | |
1425 | #[cfg(feature = "Win32_Foundation")] | |
1426 | impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_A_0_0 {} | |
1427 | #[cfg(feature = "Win32_Foundation")] | |
1428 | impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_A_0_0 { | |
1429 | fn clone(&self) -> Self { | |
1430 | *self | |
1431 | } | |
1432 | } | |
1433 | #[repr(C)] | |
04454e1e | 1434 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1435 | #[cfg(feature = "Win32_Foundation")] |
1436 | pub struct PDH_LOG_SERVICE_QUERY_INFO_A_0_1 { | |
1437 | pub TlNumberOfBuffers: u32, | |
1438 | pub TlMinimumBuffers: u32, | |
1439 | pub TlMaximumBuffers: u32, | |
1440 | pub TlFreeBuffers: u32, | |
1441 | pub TlBufferSize: u32, | |
1442 | pub TlEventsLost: u32, | |
1443 | pub TlLoggerThreadId: u32, | |
1444 | pub TlBuffersWritten: u32, | |
1445 | pub TlLogHandle: u32, | |
04454e1e | 1446 | pub TlLogFileName: ::windows_sys::core::PSTR, |
5e7ed085 FG |
1447 | } |
1448 | #[cfg(feature = "Win32_Foundation")] | |
1449 | impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_A_0_1 {} | |
1450 | #[cfg(feature = "Win32_Foundation")] | |
1451 | impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_A_0_1 { | |
1452 | fn clone(&self) -> Self { | |
1453 | *self | |
1454 | } | |
1455 | } | |
1456 | #[repr(C)] | |
04454e1e | 1457 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1458 | #[cfg(feature = "Win32_Foundation")] |
1459 | pub struct PDH_LOG_SERVICE_QUERY_INFO_W { | |
1460 | pub dwSize: u32, | |
1461 | pub dwFlags: u32, | |
1462 | pub dwLogQuota: u32, | |
04454e1e FG |
1463 | pub szLogFileCaption: ::windows_sys::core::PWSTR, |
1464 | pub szDefaultDir: ::windows_sys::core::PWSTR, | |
1465 | pub szBaseFileName: ::windows_sys::core::PWSTR, | |
5e7ed085 FG |
1466 | pub dwFileType: u32, |
1467 | pub dwReserved: u32, | |
1468 | pub Anonymous: PDH_LOG_SERVICE_QUERY_INFO_W_0, | |
1469 | } | |
1470 | #[cfg(feature = "Win32_Foundation")] | |
1471 | impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_W {} | |
1472 | #[cfg(feature = "Win32_Foundation")] | |
1473 | impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_W { | |
1474 | fn clone(&self) -> Self { | |
1475 | *self | |
1476 | } | |
1477 | } | |
1478 | #[repr(C)] | |
04454e1e | 1479 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1480 | #[cfg(feature = "Win32_Foundation")] |
1481 | pub union PDH_LOG_SERVICE_QUERY_INFO_W_0 { | |
1482 | pub Anonymous1: PDH_LOG_SERVICE_QUERY_INFO_W_0_0, | |
1483 | pub Anonymous2: PDH_LOG_SERVICE_QUERY_INFO_W_0_1, | |
1484 | } | |
1485 | #[cfg(feature = "Win32_Foundation")] | |
1486 | impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_W_0 {} | |
1487 | #[cfg(feature = "Win32_Foundation")] | |
1488 | impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_W_0 { | |
1489 | fn clone(&self) -> Self { | |
1490 | *self | |
1491 | } | |
1492 | } | |
1493 | #[repr(C)] | |
04454e1e | 1494 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1495 | #[cfg(feature = "Win32_Foundation")] |
1496 | pub struct PDH_LOG_SERVICE_QUERY_INFO_W_0_0 { | |
1497 | pub PdlAutoNameInterval: u32, | |
1498 | pub PdlAutoNameUnits: u32, | |
04454e1e FG |
1499 | pub PdlCommandFilename: ::windows_sys::core::PWSTR, |
1500 | pub PdlCounterList: ::windows_sys::core::PWSTR, | |
5e7ed085 FG |
1501 | pub PdlAutoNameFormat: u32, |
1502 | pub PdlSampleInterval: u32, | |
1503 | pub PdlLogStartTime: super::super::Foundation::FILETIME, | |
1504 | pub PdlLogEndTime: super::super::Foundation::FILETIME, | |
1505 | } | |
1506 | #[cfg(feature = "Win32_Foundation")] | |
1507 | impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_W_0_0 {} | |
1508 | #[cfg(feature = "Win32_Foundation")] | |
1509 | impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_W_0_0 { | |
1510 | fn clone(&self) -> Self { | |
1511 | *self | |
1512 | } | |
1513 | } | |
1514 | #[repr(C)] | |
04454e1e | 1515 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1516 | #[cfg(feature = "Win32_Foundation")] |
1517 | pub struct PDH_LOG_SERVICE_QUERY_INFO_W_0_1 { | |
1518 | pub TlNumberOfBuffers: u32, | |
1519 | pub TlMinimumBuffers: u32, | |
1520 | pub TlMaximumBuffers: u32, | |
1521 | pub TlFreeBuffers: u32, | |
1522 | pub TlBufferSize: u32, | |
1523 | pub TlEventsLost: u32, | |
1524 | pub TlLoggerThreadId: u32, | |
1525 | pub TlBuffersWritten: u32, | |
1526 | pub TlLogHandle: u32, | |
04454e1e | 1527 | pub TlLogFileName: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
1528 | } |
1529 | #[cfg(feature = "Win32_Foundation")] | |
1530 | impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_W_0_1 {} | |
1531 | #[cfg(feature = "Win32_Foundation")] | |
1532 | impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_W_0_1 { | |
1533 | fn clone(&self) -> Self { | |
1534 | *self | |
1535 | } | |
1536 | } | |
5e7ed085 | 1537 | #[repr(C)] |
04454e1e | 1538 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1539 | #[cfg(feature = "Win32_Foundation")] |
1540 | pub struct PDH_RAW_COUNTER { | |
1541 | pub CStatus: u32, | |
1542 | pub TimeStamp: super::super::Foundation::FILETIME, | |
1543 | pub FirstValue: i64, | |
1544 | pub SecondValue: i64, | |
1545 | pub MultiCount: u32, | |
1546 | } | |
1547 | #[cfg(feature = "Win32_Foundation")] | |
1548 | impl ::core::marker::Copy for PDH_RAW_COUNTER {} | |
1549 | #[cfg(feature = "Win32_Foundation")] | |
1550 | impl ::core::clone::Clone for PDH_RAW_COUNTER { | |
1551 | fn clone(&self) -> Self { | |
1552 | *self | |
1553 | } | |
1554 | } | |
1555 | #[repr(C)] | |
04454e1e | 1556 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1557 | #[cfg(feature = "Win32_Foundation")] |
1558 | pub struct PDH_RAW_COUNTER_ITEM_A { | |
04454e1e | 1559 | pub szName: ::windows_sys::core::PSTR, |
5e7ed085 FG |
1560 | pub RawValue: PDH_RAW_COUNTER, |
1561 | } | |
1562 | #[cfg(feature = "Win32_Foundation")] | |
1563 | impl ::core::marker::Copy for PDH_RAW_COUNTER_ITEM_A {} | |
1564 | #[cfg(feature = "Win32_Foundation")] | |
1565 | impl ::core::clone::Clone for PDH_RAW_COUNTER_ITEM_A { | |
1566 | fn clone(&self) -> Self { | |
1567 | *self | |
1568 | } | |
1569 | } | |
1570 | #[repr(C)] | |
04454e1e | 1571 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1572 | #[cfg(feature = "Win32_Foundation")] |
1573 | pub struct PDH_RAW_COUNTER_ITEM_W { | |
04454e1e | 1574 | pub szName: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
1575 | pub RawValue: PDH_RAW_COUNTER, |
1576 | } | |
1577 | #[cfg(feature = "Win32_Foundation")] | |
1578 | impl ::core::marker::Copy for PDH_RAW_COUNTER_ITEM_W {} | |
1579 | #[cfg(feature = "Win32_Foundation")] | |
1580 | impl ::core::clone::Clone for PDH_RAW_COUNTER_ITEM_W { | |
1581 | fn clone(&self) -> Self { | |
1582 | *self | |
1583 | } | |
1584 | } | |
1585 | #[repr(C)] | |
04454e1e | 1586 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1587 | pub struct PDH_RAW_LOG_RECORD { |
1588 | pub dwStructureSize: u32, | |
1589 | pub dwRecordType: PDH_LOG_TYPE, | |
1590 | pub dwItems: u32, | |
1591 | pub RawBytes: [u8; 1], | |
1592 | } | |
1593 | impl ::core::marker::Copy for PDH_RAW_LOG_RECORD {} | |
1594 | impl ::core::clone::Clone for PDH_RAW_LOG_RECORD { | |
1595 | fn clone(&self) -> Self { | |
1596 | *self | |
1597 | } | |
1598 | } | |
5e7ed085 | 1599 | #[repr(C)] |
04454e1e | 1600 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1601 | pub struct PDH_STATISTICS { |
1602 | pub dwFormat: u32, | |
1603 | pub count: u32, | |
1604 | pub min: PDH_FMT_COUNTERVALUE, | |
1605 | pub max: PDH_FMT_COUNTERVALUE, | |
1606 | pub mean: PDH_FMT_COUNTERVALUE, | |
1607 | } | |
5e7ed085 | 1608 | impl ::core::marker::Copy for PDH_STATISTICS {} |
5e7ed085 FG |
1609 | impl ::core::clone::Clone for PDH_STATISTICS { |
1610 | fn clone(&self) -> Self { | |
1611 | *self | |
1612 | } | |
1613 | } | |
5e7ed085 | 1614 | #[repr(C)] |
04454e1e | 1615 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1616 | pub struct PDH_TIME_INFO { |
1617 | pub StartTime: i64, | |
1618 | pub EndTime: i64, | |
1619 | pub SampleCount: u32, | |
1620 | } | |
1621 | impl ::core::marker::Copy for PDH_TIME_INFO {} | |
1622 | impl ::core::clone::Clone for PDH_TIME_INFO { | |
1623 | fn clone(&self) -> Self { | |
1624 | *self | |
1625 | } | |
1626 | } | |
5e7ed085 | 1627 | #[repr(C)] |
04454e1e | 1628 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1629 | pub struct PERF_COUNTERSET_INFO { |
1630 | pub CounterSetGuid: ::windows_sys::core::GUID, | |
1631 | pub ProviderGuid: ::windows_sys::core::GUID, | |
1632 | pub NumCounters: u32, | |
1633 | pub InstanceType: u32, | |
1634 | } | |
1635 | impl ::core::marker::Copy for PERF_COUNTERSET_INFO {} | |
1636 | impl ::core::clone::Clone for PERF_COUNTERSET_INFO { | |
1637 | fn clone(&self) -> Self { | |
1638 | *self | |
1639 | } | |
1640 | } | |
1641 | #[repr(C)] | |
04454e1e | 1642 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1643 | pub struct PERF_COUNTERSET_INSTANCE { |
1644 | pub CounterSetGuid: ::windows_sys::core::GUID, | |
1645 | pub dwSize: u32, | |
1646 | pub InstanceId: u32, | |
1647 | pub InstanceNameOffset: u32, | |
1648 | pub InstanceNameSize: u32, | |
1649 | } | |
1650 | impl ::core::marker::Copy for PERF_COUNTERSET_INSTANCE {} | |
1651 | impl ::core::clone::Clone for PERF_COUNTERSET_INSTANCE { | |
1652 | fn clone(&self) -> Self { | |
1653 | *self | |
1654 | } | |
1655 | } | |
5e7ed085 | 1656 | #[repr(C)] |
04454e1e | 1657 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1658 | pub struct PERF_COUNTERSET_REG_INFO { |
1659 | pub CounterSetGuid: ::windows_sys::core::GUID, | |
1660 | pub CounterSetType: u32, | |
1661 | pub DetailLevel: u32, | |
1662 | pub NumCounters: u32, | |
1663 | pub InstanceType: u32, | |
1664 | } | |
1665 | impl ::core::marker::Copy for PERF_COUNTERSET_REG_INFO {} | |
1666 | impl ::core::clone::Clone for PERF_COUNTERSET_REG_INFO { | |
1667 | fn clone(&self) -> Self { | |
1668 | *self | |
1669 | } | |
1670 | } | |
5e7ed085 | 1671 | #[repr(C)] |
04454e1e | 1672 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1673 | pub struct PERF_COUNTER_BLOCK { |
1674 | pub ByteLength: u32, | |
1675 | } | |
1676 | impl ::core::marker::Copy for PERF_COUNTER_BLOCK {} | |
1677 | impl ::core::clone::Clone for PERF_COUNTER_BLOCK { | |
1678 | fn clone(&self) -> Self { | |
1679 | *self | |
1680 | } | |
1681 | } | |
1682 | #[repr(C)] | |
04454e1e | 1683 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1684 | pub struct PERF_COUNTER_DATA { |
1685 | pub dwDataSize: u32, | |
1686 | pub dwSize: u32, | |
1687 | } | |
1688 | impl ::core::marker::Copy for PERF_COUNTER_DATA {} | |
1689 | impl ::core::clone::Clone for PERF_COUNTER_DATA { | |
1690 | fn clone(&self) -> Self { | |
1691 | *self | |
1692 | } | |
1693 | } | |
1694 | #[repr(C)] | |
04454e1e | 1695 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 1696 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
5e7ed085 FG |
1697 | pub struct PERF_COUNTER_DEFINITION { |
1698 | pub ByteLength: u32, | |
1699 | pub CounterNameTitleIndex: u32, | |
1700 | pub CounterNameTitle: u32, | |
1701 | pub CounterHelpTitleIndex: u32, | |
1702 | pub CounterHelpTitle: u32, | |
1703 | pub DefaultScale: i32, | |
1704 | pub DetailLevel: u32, | |
1705 | pub CounterType: u32, | |
1706 | pub CounterSize: u32, | |
1707 | pub CounterOffset: u32, | |
1708 | } | |
1709 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] | |
5e7ed085 FG |
1710 | impl ::core::marker::Copy for PERF_COUNTER_DEFINITION {} |
1711 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] | |
5e7ed085 FG |
1712 | impl ::core::clone::Clone for PERF_COUNTER_DEFINITION { |
1713 | fn clone(&self) -> Self { | |
1714 | *self | |
1715 | } | |
1716 | } | |
1717 | #[repr(C)] | |
04454e1e | 1718 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 1719 | #[cfg(target_arch = "x86")] |
5e7ed085 FG |
1720 | pub struct PERF_COUNTER_DEFINITION { |
1721 | pub ByteLength: u32, | |
1722 | pub CounterNameTitleIndex: u32, | |
04454e1e | 1723 | pub CounterNameTitle: ::windows_sys::core::PWSTR, |
5e7ed085 | 1724 | pub CounterHelpTitleIndex: u32, |
04454e1e | 1725 | pub CounterHelpTitle: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
1726 | pub DefaultScale: i32, |
1727 | pub DetailLevel: u32, | |
1728 | pub CounterType: u32, | |
1729 | pub CounterSize: u32, | |
1730 | pub CounterOffset: u32, | |
1731 | } | |
1732 | #[cfg(target_arch = "x86")] | |
5e7ed085 FG |
1733 | impl ::core::marker::Copy for PERF_COUNTER_DEFINITION {} |
1734 | #[cfg(target_arch = "x86")] | |
5e7ed085 FG |
1735 | impl ::core::clone::Clone for PERF_COUNTER_DEFINITION { |
1736 | fn clone(&self) -> Self { | |
1737 | *self | |
1738 | } | |
1739 | } | |
5e7ed085 | 1740 | #[repr(C)] |
04454e1e | 1741 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1742 | pub struct PERF_COUNTER_HEADER { |
1743 | pub dwStatus: u32, | |
1744 | pub dwType: PerfCounterDataType, | |
1745 | pub dwSize: u32, | |
1746 | pub Reserved: u32, | |
1747 | } | |
1748 | impl ::core::marker::Copy for PERF_COUNTER_HEADER {} | |
1749 | impl ::core::clone::Clone for PERF_COUNTER_HEADER { | |
1750 | fn clone(&self) -> Self { | |
1751 | *self | |
1752 | } | |
1753 | } | |
5e7ed085 | 1754 | #[repr(C)] |
04454e1e | 1755 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1756 | pub struct PERF_COUNTER_IDENTIFIER { |
1757 | pub CounterSetGuid: ::windows_sys::core::GUID, | |
1758 | pub Status: u32, | |
1759 | pub Size: u32, | |
1760 | pub CounterId: u32, | |
1761 | pub InstanceId: u32, | |
1762 | pub Index: u32, | |
1763 | pub Reserved: u32, | |
1764 | } | |
1765 | impl ::core::marker::Copy for PERF_COUNTER_IDENTIFIER {} | |
1766 | impl ::core::clone::Clone for PERF_COUNTER_IDENTIFIER { | |
1767 | fn clone(&self) -> Self { | |
1768 | *self | |
1769 | } | |
1770 | } | |
1771 | #[repr(C)] | |
04454e1e | 1772 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1773 | pub struct PERF_COUNTER_IDENTITY { |
1774 | pub CounterSetGuid: ::windows_sys::core::GUID, | |
1775 | pub BufferSize: u32, | |
1776 | pub CounterId: u32, | |
1777 | pub InstanceId: u32, | |
1778 | pub MachineOffset: u32, | |
1779 | pub NameOffset: u32, | |
1780 | pub Reserved: u32, | |
1781 | } | |
1782 | impl ::core::marker::Copy for PERF_COUNTER_IDENTITY {} | |
1783 | impl ::core::clone::Clone for PERF_COUNTER_IDENTITY { | |
1784 | fn clone(&self) -> Self { | |
1785 | *self | |
1786 | } | |
1787 | } | |
1788 | #[repr(C)] | |
04454e1e | 1789 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1790 | pub struct PERF_COUNTER_INFO { |
1791 | pub CounterId: u32, | |
1792 | pub Type: u32, | |
1793 | pub Attrib: u64, | |
1794 | pub Size: u32, | |
1795 | pub DetailLevel: u32, | |
1796 | pub Scale: i32, | |
1797 | pub Offset: u32, | |
1798 | } | |
1799 | impl ::core::marker::Copy for PERF_COUNTER_INFO {} | |
1800 | impl ::core::clone::Clone for PERF_COUNTER_INFO { | |
1801 | fn clone(&self) -> Self { | |
1802 | *self | |
1803 | } | |
1804 | } | |
5e7ed085 | 1805 | #[repr(C)] |
04454e1e | 1806 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1807 | pub struct PERF_COUNTER_REG_INFO { |
1808 | pub CounterId: u32, | |
1809 | pub Type: u32, | |
1810 | pub Attrib: u64, | |
1811 | pub DetailLevel: u32, | |
1812 | pub DefaultScale: i32, | |
1813 | pub BaseCounterId: u32, | |
1814 | pub PerfTimeId: u32, | |
1815 | pub PerfFreqId: u32, | |
1816 | pub MultiId: u32, | |
1817 | pub AggregateFunc: PERF_COUNTER_AGGREGATE_FUNC, | |
1818 | pub Reserved: u32, | |
1819 | } | |
1820 | impl ::core::marker::Copy for PERF_COUNTER_REG_INFO {} | |
1821 | impl ::core::clone::Clone for PERF_COUNTER_REG_INFO { | |
1822 | fn clone(&self) -> Self { | |
1823 | *self | |
1824 | } | |
1825 | } | |
5e7ed085 | 1826 | #[repr(C)] |
04454e1e | 1827 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1828 | #[cfg(feature = "Win32_Foundation")] |
1829 | pub struct PERF_DATA_BLOCK { | |
1830 | pub Signature: [u16; 4], | |
1831 | pub LittleEndian: u32, | |
1832 | pub Version: u32, | |
1833 | pub Revision: u32, | |
1834 | pub TotalByteLength: u32, | |
1835 | pub HeaderLength: u32, | |
1836 | pub NumObjectTypes: u32, | |
1837 | pub DefaultObject: i32, | |
1838 | pub SystemTime: super::super::Foundation::SYSTEMTIME, | |
1839 | pub PerfTime: i64, | |
1840 | pub PerfFreq: i64, | |
1841 | pub PerfTime100nSec: i64, | |
1842 | pub SystemNameLength: u32, | |
1843 | pub SystemNameOffset: u32, | |
1844 | } | |
1845 | #[cfg(feature = "Win32_Foundation")] | |
1846 | impl ::core::marker::Copy for PERF_DATA_BLOCK {} | |
1847 | #[cfg(feature = "Win32_Foundation")] | |
1848 | impl ::core::clone::Clone for PERF_DATA_BLOCK { | |
1849 | fn clone(&self) -> Self { | |
1850 | *self | |
1851 | } | |
1852 | } | |
1853 | #[repr(C)] | |
487cf647 FG |
1854 | #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] |
1855 | #[cfg(feature = "Win32_Foundation")] | |
1856 | pub struct PERF_DATA_HEADER { | |
1857 | pub dwTotalSize: u32, | |
1858 | pub dwNumCounters: u32, | |
1859 | pub PerfTimeStamp: i64, | |
1860 | pub PerfTime100NSec: i64, | |
1861 | pub PerfFreq: i64, | |
1862 | pub SystemTime: super::super::Foundation::SYSTEMTIME, | |
1863 | } | |
1864 | #[cfg(feature = "Win32_Foundation")] | |
1865 | impl ::core::marker::Copy for PERF_DATA_HEADER {} | |
1866 | #[cfg(feature = "Win32_Foundation")] | |
1867 | impl ::core::clone::Clone for PERF_DATA_HEADER { | |
1868 | fn clone(&self) -> Self { | |
1869 | *self | |
1870 | } | |
1871 | } | |
5e7ed085 | 1872 | #[repr(C)] |
04454e1e | 1873 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1874 | pub struct PERF_INSTANCE_DEFINITION { |
1875 | pub ByteLength: u32, | |
1876 | pub ParentObjectTitleIndex: u32, | |
1877 | pub ParentObjectInstance: u32, | |
1878 | pub UniqueID: i32, | |
1879 | pub NameOffset: u32, | |
1880 | pub NameLength: u32, | |
1881 | } | |
1882 | impl ::core::marker::Copy for PERF_INSTANCE_DEFINITION {} | |
1883 | impl ::core::clone::Clone for PERF_INSTANCE_DEFINITION { | |
1884 | fn clone(&self) -> Self { | |
1885 | *self | |
1886 | } | |
1887 | } | |
1888 | #[repr(C)] | |
04454e1e | 1889 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1890 | pub struct PERF_INSTANCE_HEADER { |
1891 | pub Size: u32, | |
1892 | pub InstanceId: u32, | |
1893 | } | |
1894 | impl ::core::marker::Copy for PERF_INSTANCE_HEADER {} | |
1895 | impl ::core::clone::Clone for PERF_INSTANCE_HEADER { | |
1896 | fn clone(&self) -> Self { | |
1897 | *self | |
1898 | } | |
1899 | } | |
5e7ed085 | 1900 | #[repr(C)] |
04454e1e | 1901 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1902 | pub struct PERF_MULTI_COUNTERS { |
1903 | pub dwSize: u32, | |
1904 | pub dwCounters: u32, | |
1905 | } | |
1906 | impl ::core::marker::Copy for PERF_MULTI_COUNTERS {} | |
1907 | impl ::core::clone::Clone for PERF_MULTI_COUNTERS { | |
1908 | fn clone(&self) -> Self { | |
1909 | *self | |
1910 | } | |
1911 | } | |
1912 | #[repr(C)] | |
04454e1e | 1913 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1914 | pub struct PERF_MULTI_INSTANCES { |
1915 | pub dwTotalSize: u32, | |
1916 | pub dwInstances: u32, | |
1917 | } | |
1918 | impl ::core::marker::Copy for PERF_MULTI_INSTANCES {} | |
1919 | impl ::core::clone::Clone for PERF_MULTI_INSTANCES { | |
1920 | fn clone(&self) -> Self { | |
1921 | *self | |
1922 | } | |
1923 | } | |
5e7ed085 | 1924 | #[repr(C)] |
04454e1e | 1925 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 1926 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
5e7ed085 FG |
1927 | pub struct PERF_OBJECT_TYPE { |
1928 | pub TotalByteLength: u32, | |
1929 | pub DefinitionLength: u32, | |
1930 | pub HeaderLength: u32, | |
1931 | pub ObjectNameTitleIndex: u32, | |
1932 | pub ObjectNameTitle: u32, | |
1933 | pub ObjectHelpTitleIndex: u32, | |
1934 | pub ObjectHelpTitle: u32, | |
1935 | pub DetailLevel: u32, | |
1936 | pub NumCounters: u32, | |
1937 | pub DefaultCounter: i32, | |
1938 | pub NumInstances: i32, | |
1939 | pub CodePage: u32, | |
1940 | pub PerfTime: i64, | |
1941 | pub PerfFreq: i64, | |
1942 | } | |
1943 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] | |
5e7ed085 FG |
1944 | impl ::core::marker::Copy for PERF_OBJECT_TYPE {} |
1945 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] | |
5e7ed085 FG |
1946 | impl ::core::clone::Clone for PERF_OBJECT_TYPE { |
1947 | fn clone(&self) -> Self { | |
1948 | *self | |
1949 | } | |
1950 | } | |
1951 | #[repr(C)] | |
04454e1e | 1952 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 | 1953 | #[cfg(target_arch = "x86")] |
5e7ed085 FG |
1954 | pub struct PERF_OBJECT_TYPE { |
1955 | pub TotalByteLength: u32, | |
1956 | pub DefinitionLength: u32, | |
1957 | pub HeaderLength: u32, | |
1958 | pub ObjectNameTitleIndex: u32, | |
04454e1e | 1959 | pub ObjectNameTitle: ::windows_sys::core::PWSTR, |
5e7ed085 | 1960 | pub ObjectHelpTitleIndex: u32, |
04454e1e | 1961 | pub ObjectHelpTitle: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
1962 | pub DetailLevel: u32, |
1963 | pub NumCounters: u32, | |
1964 | pub DefaultCounter: i32, | |
1965 | pub NumInstances: i32, | |
1966 | pub CodePage: u32, | |
1967 | pub PerfTime: i64, | |
1968 | pub PerfFreq: i64, | |
1969 | } | |
1970 | #[cfg(target_arch = "x86")] | |
5e7ed085 FG |
1971 | impl ::core::marker::Copy for PERF_OBJECT_TYPE {} |
1972 | #[cfg(target_arch = "x86")] | |
5e7ed085 FG |
1973 | impl ::core::clone::Clone for PERF_OBJECT_TYPE { |
1974 | fn clone(&self) -> Self { | |
1975 | *self | |
1976 | } | |
1977 | } | |
1978 | #[repr(C)] | |
04454e1e | 1979 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1980 | pub struct PERF_PROVIDER_CONTEXT { |
1981 | pub ContextSize: u32, | |
1982 | pub Reserved: u32, | |
1983 | pub ControlCallback: PERFLIBREQUEST, | |
1984 | pub MemAllocRoutine: PERF_MEM_ALLOC, | |
1985 | pub MemFreeRoutine: PERF_MEM_FREE, | |
1986 | pub pMemContext: *mut ::core::ffi::c_void, | |
1987 | } | |
1988 | impl ::core::marker::Copy for PERF_PROVIDER_CONTEXT {} | |
1989 | impl ::core::clone::Clone for PERF_PROVIDER_CONTEXT { | |
1990 | fn clone(&self) -> Self { | |
1991 | *self | |
1992 | } | |
1993 | } | |
5e7ed085 | 1994 | #[repr(C)] |
04454e1e | 1995 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
1996 | pub struct PERF_STRING_BUFFER_HEADER { |
1997 | pub dwSize: u32, | |
1998 | pub dwCounters: u32, | |
1999 | } | |
2000 | impl ::core::marker::Copy for PERF_STRING_BUFFER_HEADER {} | |
2001 | impl ::core::clone::Clone for PERF_STRING_BUFFER_HEADER { | |
2002 | fn clone(&self) -> Self { | |
2003 | *self | |
2004 | } | |
2005 | } | |
2006 | #[repr(C)] | |
04454e1e | 2007 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
5e7ed085 FG |
2008 | pub struct PERF_STRING_COUNTER_HEADER { |
2009 | pub dwCounterId: u32, | |
2010 | pub dwOffset: u32, | |
2011 | } | |
2012 | impl ::core::marker::Copy for PERF_STRING_COUNTER_HEADER {} | |
2013 | impl ::core::clone::Clone for PERF_STRING_COUNTER_HEADER { | |
2014 | fn clone(&self) -> Self { | |
2015 | *self | |
2016 | } | |
2017 | } | |
487cf647 FG |
2018 | pub type PerfProviderHandle = isize; |
2019 | pub type PerfQueryHandle = isize; | |
04454e1e | 2020 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 2021 | pub type CounterPathCallBack = ::core::option::Option<unsafe extern "system" fn(param0: usize) -> i32>; |
04454e1e | 2022 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 2023 | pub type PERFLIBREQUEST = ::core::option::Option<unsafe extern "system" fn(requestcode: u32, buffer: *mut ::core::ffi::c_void, buffersize: u32) -> u32>; |
04454e1e | 2024 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 2025 | pub type PERF_MEM_ALLOC = ::core::option::Option<unsafe extern "system" fn(allocsize: usize, pcontext: *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void>; |
04454e1e | 2026 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
487cf647 | 2027 | pub type PERF_MEM_FREE = ::core::option::Option<unsafe extern "system" fn(pbuffer: *mut ::core::ffi::c_void, pcontext: *mut ::core::ffi::c_void)>; |
04454e1e FG |
2028 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
2029 | pub type PLA_CABEXTRACT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(filename: ::windows_sys::core::PCWSTR, context: *mut ::core::ffi::c_void)>; | |
2030 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
5e7ed085 | 2031 | pub type PM_CLOSE_PROC = ::core::option::Option<unsafe extern "system" fn() -> u32>; |
04454e1e FG |
2032 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] |
2033 | pub type PM_COLLECT_PROC = ::core::option::Option<unsafe extern "system" fn(pvaluename: ::windows_sys::core::PCWSTR, ppdata: *mut *mut ::core::ffi::c_void, pcbtotalbytes: *mut u32, pnumobjecttypes: *mut u32) -> u32>; | |
2034 | #[doc = "*Required features: `\"Win32_System_Performance\"`*"] | |
2035 | pub type PM_OPEN_PROC = ::core::option::Option<unsafe extern "system" fn(pcontext: ::windows_sys::core::PCWSTR) -> u32>; |