| 1 |
#[cfg(feature = "Win32_System_Performance_HardwareCounterProfiling")] |
| 2 |
#[doc = "Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`"] |
| 3 |
pub mod HardwareCounterProfiling; |
| 4 |
::windows_targets::link!("loadperf.dll" "system" fn BackupPerfRegistryToFileW(szfilename : ::windows_sys::core::PCWSTR, szcommentstring : ::windows_sys::core::PCWSTR) -> u32); |
| 5 |
::windows_targets::link!("loadperf.dll" "system" fn InstallPerfDllA(szcomputername : ::windows_sys::core::PCSTR, lpinifile : ::windows_sys::core::PCSTR, dwflags : usize) -> u32); |
| 6 |
::windows_targets::link!("loadperf.dll" "system" fn InstallPerfDllW(szcomputername : ::windows_sys::core::PCWSTR, lpinifile : ::windows_sys::core::PCWSTR, dwflags : usize) -> u32); |
| 7 |
#[cfg(feature = "Win32_Foundation")] |
| 8 |
::windows_targets::link!("loadperf.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LoadPerfCounterTextStringsA(lpcommandline : ::windows_sys::core::PCSTR, bquietmodearg : super::super::Foundation:: BOOL) -> u32); |
| 9 |
#[cfg(feature = "Win32_Foundation")] |
| 10 |
::windows_targets::link!("loadperf.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LoadPerfCounterTextStringsW(lpcommandline : ::windows_sys::core::PCWSTR, bquietmodearg : super::super::Foundation:: BOOL) -> u32); |
| 11 |
::windows_targets::link!("pdh.dll" "system" fn PdhAddCounterA(hquery : isize, szfullcounterpath : ::windows_sys::core::PCSTR, dwuserdata : usize, phcounter : *mut isize) -> u32); |
| 12 |
::windows_targets::link!("pdh.dll" "system" fn PdhAddCounterW(hquery : isize, szfullcounterpath : ::windows_sys::core::PCWSTR, dwuserdata : usize, phcounter : *mut isize) -> u32); |
| 13 |
::windows_targets::link!("pdh.dll" "system" fn PdhAddEnglishCounterA(hquery : isize, szfullcounterpath : ::windows_sys::core::PCSTR, dwuserdata : usize, phcounter : *mut isize) -> u32); |
| 14 |
::windows_targets::link!("pdh.dll" "system" fn PdhAddEnglishCounterW(hquery : isize, szfullcounterpath : ::windows_sys::core::PCWSTR, dwuserdata : usize, phcounter : *mut isize) -> u32); |
| 15 |
::windows_targets::link!("pdh.dll" "system" fn PdhBindInputDataSourceA(phdatasource : *mut isize, logfilenamelist : ::windows_sys::core::PCSTR) -> u32); |
| 16 |
::windows_targets::link!("pdh.dll" "system" fn PdhBindInputDataSourceW(phdatasource : *mut isize, logfilenamelist : ::windows_sys::core::PCWSTR) -> u32); |
| 17 |
#[cfg(feature = "Win32_Foundation")] |
| 18 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhBrowseCountersA(pbrowsedlgdata : *const PDH_BROWSE_DLG_CONFIG_A) -> u32); |
| 19 |
#[cfg(feature = "Win32_Foundation")] |
| 20 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhBrowseCountersHA(pbrowsedlgdata : *const PDH_BROWSE_DLG_CONFIG_HA) -> u32); |
| 21 |
#[cfg(feature = "Win32_Foundation")] |
| 22 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhBrowseCountersHW(pbrowsedlgdata : *const PDH_BROWSE_DLG_CONFIG_HW) -> u32); |
| 23 |
#[cfg(feature = "Win32_Foundation")] |
| 24 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhBrowseCountersW(pbrowsedlgdata : *const PDH_BROWSE_DLG_CONFIG_W) -> u32); |
| 25 |
#[cfg(feature = "Win32_Foundation")] |
| 26 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhCalculateCounterFromRawValue(hcounter : isize, dwformat : PDH_FMT, rawvalue1 : *const PDH_RAW_COUNTER, rawvalue2 : *const PDH_RAW_COUNTER, fmtvalue : *mut PDH_FMT_COUNTERVALUE) -> u32); |
| 27 |
::windows_targets::link!("pdh.dll" "system" fn PdhCloseLog(hlog : isize, dwflags : u32) -> u32); |
| 28 |
::windows_targets::link!("pdh.dll" "system" fn PdhCloseQuery(hquery : isize) -> u32); |
| 29 |
::windows_targets::link!("pdh.dll" "system" fn PdhCollectQueryData(hquery : isize) -> u32); |
| 30 |
#[cfg(feature = "Win32_Foundation")] |
| 31 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhCollectQueryDataEx(hquery : isize, dwintervaltime : u32, hnewdataevent : super::super::Foundation:: HANDLE) -> u32); |
| 32 |
::windows_targets::link!("pdh.dll" "system" fn PdhCollectQueryDataWithTime(hquery : isize, plltimestamp : *mut i64) -> u32); |
| 33 |
#[cfg(feature = "Win32_Foundation")] |
| 34 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhComputeCounterStatistics(hcounter : isize, dwformat : PDH_FMT, dwfirstentry : u32, dwnumentries : u32, lprawvaluearray : *const PDH_RAW_COUNTER, data : *mut PDH_STATISTICS) -> u32); |
| 35 |
::windows_targets::link!("pdh.dll" "system" fn PdhConnectMachineA(szmachinename : ::windows_sys::core::PCSTR) -> u32); |
| 36 |
::windows_targets::link!("pdh.dll" "system" fn PdhConnectMachineW(szmachinename : ::windows_sys::core::PCWSTR) -> u32); |
| 37 |
::windows_targets::link!("pdh.dll" "system" fn PdhCreateSQLTablesA(szdatasource : ::windows_sys::core::PCSTR) -> u32); |
| 38 |
::windows_targets::link!("pdh.dll" "system" fn PdhCreateSQLTablesW(szdatasource : ::windows_sys::core::PCWSTR) -> u32); |
| 39 |
::windows_targets::link!("pdh.dll" "system" fn PdhEnumLogSetNamesA(szdatasource : ::windows_sys::core::PCSTR, mszdatasetnamelist : ::windows_sys::core::PSTR, pcchbufferlength : *mut u32) -> u32); |
| 40 |
::windows_targets::link!("pdh.dll" "system" fn PdhEnumLogSetNamesW(szdatasource : ::windows_sys::core::PCWSTR, mszdatasetnamelist : ::windows_sys::core::PWSTR, pcchbufferlength : *mut u32) -> u32); |
| 41 |
::windows_targets::link!("pdh.dll" "system" fn PdhEnumMachinesA(szdatasource : ::windows_sys::core::PCSTR, mszmachinelist : ::windows_sys::core::PSTR, pcchbuffersize : *mut u32) -> u32); |
| 42 |
::windows_targets::link!("pdh.dll" "system" fn PdhEnumMachinesHA(hdatasource : isize, mszmachinelist : ::windows_sys::core::PSTR, pcchbuffersize : *mut u32) -> u32); |
| 43 |
::windows_targets::link!("pdh.dll" "system" fn PdhEnumMachinesHW(hdatasource : isize, mszmachinelist : ::windows_sys::core::PWSTR, pcchbuffersize : *mut u32) -> u32); |
| 44 |
::windows_targets::link!("pdh.dll" "system" fn PdhEnumMachinesW(szdatasource : ::windows_sys::core::PCWSTR, mszmachinelist : ::windows_sys::core::PWSTR, pcchbuffersize : *mut u32) -> u32); |
| 45 |
::windows_targets::link!("pdh.dll" "system" 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) -> u32); |
| 46 |
::windows_targets::link!("pdh.dll" "system" 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) -> u32); |
| 47 |
::windows_targets::link!("pdh.dll" "system" 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) -> u32); |
| 48 |
::windows_targets::link!("pdh.dll" "system" 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) -> u32); |
| 49 |
#[cfg(feature = "Win32_Foundation")] |
| 50 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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) -> u32); |
| 51 |
#[cfg(feature = "Win32_Foundation")] |
| 52 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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) -> u32); |
| 53 |
#[cfg(feature = "Win32_Foundation")] |
| 54 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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) -> u32); |
| 55 |
#[cfg(feature = "Win32_Foundation")] |
| 56 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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) -> u32); |
| 57 |
::windows_targets::link!("pdh.dll" "system" fn PdhExpandCounterPathA(szwildcardpath : ::windows_sys::core::PCSTR, mszexpandedpathlist : ::windows_sys::core::PSTR, pcchpathlistlength : *mut u32) -> u32); |
| 58 |
::windows_targets::link!("pdh.dll" "system" fn PdhExpandCounterPathW(szwildcardpath : ::windows_sys::core::PCWSTR, mszexpandedpathlist : ::windows_sys::core::PWSTR, pcchpathlistlength : *mut u32) -> u32); |
| 59 |
::windows_targets::link!("pdh.dll" "system" fn PdhExpandWildCardPathA(szdatasource : ::windows_sys::core::PCSTR, szwildcardpath : ::windows_sys::core::PCSTR, mszexpandedpathlist : ::windows_sys::core::PSTR, pcchpathlistlength : *mut u32, dwflags : u32) -> u32); |
| 60 |
::windows_targets::link!("pdh.dll" "system" fn PdhExpandWildCardPathHA(hdatasource : isize, szwildcardpath : ::windows_sys::core::PCSTR, mszexpandedpathlist : ::windows_sys::core::PSTR, pcchpathlistlength : *mut u32, dwflags : u32) -> u32); |
| 61 |
::windows_targets::link!("pdh.dll" "system" fn PdhExpandWildCardPathHW(hdatasource : isize, szwildcardpath : ::windows_sys::core::PCWSTR, mszexpandedpathlist : ::windows_sys::core::PWSTR, pcchpathlistlength : *mut u32, dwflags : u32) -> u32); |
| 62 |
::windows_targets::link!("pdh.dll" "system" fn PdhExpandWildCardPathW(szdatasource : ::windows_sys::core::PCWSTR, szwildcardpath : ::windows_sys::core::PCWSTR, mszexpandedpathlist : ::windows_sys::core::PWSTR, pcchpathlistlength : *mut u32, dwflags : u32) -> u32); |
| 63 |
#[cfg(feature = "Win32_Foundation")] |
| 64 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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) -> u32); |
| 65 |
#[cfg(feature = "Win32_Foundation")] |
| 66 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhGetCounterInfoA(hcounter : isize, bretrieveexplaintext : super::super::Foundation:: BOOLEAN, pdwbuffersize : *mut u32, lpbuffer : *mut PDH_COUNTER_INFO_A) -> u32); |
| 67 |
#[cfg(feature = "Win32_Foundation")] |
| 68 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhGetCounterInfoW(hcounter : isize, bretrieveexplaintext : super::super::Foundation:: BOOLEAN, pdwbuffersize : *mut u32, lpbuffer : *mut PDH_COUNTER_INFO_W) -> u32); |
| 69 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetCounterTimeBase(hcounter : isize, ptimebase : *mut i64) -> u32); |
| 70 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetDataSourceTimeRangeA(szdatasource : ::windows_sys::core::PCSTR, pdwnumentries : *mut u32, pinfo : *mut PDH_TIME_INFO, pdwbuffersize : *mut u32) -> u32); |
| 71 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetDataSourceTimeRangeH(hdatasource : isize, pdwnumentries : *mut u32, pinfo : *mut PDH_TIME_INFO, pdwbuffersize : *mut u32) -> u32); |
| 72 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetDataSourceTimeRangeW(szdatasource : ::windows_sys::core::PCWSTR, pdwnumentries : *mut u32, pinfo : *mut PDH_TIME_INFO, pdwbuffersize : *mut u32) -> u32); |
| 73 |
::windows_targets::link!("pdh.dll" "system" 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) -> u32); |
| 74 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetDefaultPerfCounterHA(hdatasource : isize, szmachinename : ::windows_sys::core::PCSTR, szobjectname : ::windows_sys::core::PCSTR, szdefaultcountername : ::windows_sys::core::PSTR, pcchbuffersize : *mut u32) -> u32); |
| 75 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetDefaultPerfCounterHW(hdatasource : isize, szmachinename : ::windows_sys::core::PCWSTR, szobjectname : ::windows_sys::core::PCWSTR, szdefaultcountername : ::windows_sys::core::PWSTR, pcchbuffersize : *mut u32) -> u32); |
| 76 |
::windows_targets::link!("pdh.dll" "system" 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) -> u32); |
| 77 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetDefaultPerfObjectA(szdatasource : ::windows_sys::core::PCSTR, szmachinename : ::windows_sys::core::PCSTR, szdefaultobjectname : ::windows_sys::core::PSTR, pcchbuffersize : *mut u32) -> u32); |
| 78 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetDefaultPerfObjectHA(hdatasource : isize, szmachinename : ::windows_sys::core::PCSTR, szdefaultobjectname : ::windows_sys::core::PSTR, pcchbuffersize : *mut u32) -> u32); |
| 79 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetDefaultPerfObjectHW(hdatasource : isize, szmachinename : ::windows_sys::core::PCWSTR, szdefaultobjectname : ::windows_sys::core::PWSTR, pcchbuffersize : *mut u32) -> u32); |
| 80 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetDefaultPerfObjectW(szdatasource : ::windows_sys::core::PCWSTR, szmachinename : ::windows_sys::core::PCWSTR, szdefaultobjectname : ::windows_sys::core::PWSTR, pcchbuffersize : *mut u32) -> u32); |
| 81 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetDllVersion(lpdwversion : *mut PDH_DLL_VERSION) -> u32); |
| 82 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetFormattedCounterArrayA(hcounter : isize, dwformat : PDH_FMT, lpdwbuffersize : *mut u32, lpdwitemcount : *mut u32, itembuffer : *mut PDH_FMT_COUNTERVALUE_ITEM_A) -> u32); |
| 83 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetFormattedCounterArrayW(hcounter : isize, dwformat : PDH_FMT, lpdwbuffersize : *mut u32, lpdwitemcount : *mut u32, itembuffer : *mut PDH_FMT_COUNTERVALUE_ITEM_W) -> u32); |
| 84 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetFormattedCounterValue(hcounter : isize, dwformat : PDH_FMT, lpdwtype : *mut u32, pvalue : *mut PDH_FMT_COUNTERVALUE) -> u32); |
| 85 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetLogFileSize(hlog : isize, llsize : *mut i64) -> u32); |
| 86 |
::windows_targets::link!("pdh.dll" "system" fn PdhGetLogSetGUID(hlog : isize, pguid : *mut ::windows_sys::core::GUID, prunid : *mut i32) -> u32); |
| 87 |
#[cfg(feature = "Win32_Foundation")] |
| 88 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhGetRawCounterArrayA(hcounter : isize, lpdwbuffersize : *mut u32, lpdwitemcount : *mut u32, itembuffer : *mut PDH_RAW_COUNTER_ITEM_A) -> u32); |
| 89 |
#[cfg(feature = "Win32_Foundation")] |
| 90 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhGetRawCounterArrayW(hcounter : isize, lpdwbuffersize : *mut u32, lpdwitemcount : *mut u32, itembuffer : *mut PDH_RAW_COUNTER_ITEM_W) -> u32); |
| 91 |
#[cfg(feature = "Win32_Foundation")] |
| 92 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhGetRawCounterValue(hcounter : isize, lpdwtype : *mut u32, pvalue : *mut PDH_RAW_COUNTER) -> u32); |
| 93 |
#[cfg(feature = "Win32_Foundation")] |
| 94 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhIsRealTimeQuery(hquery : isize) -> super::super::Foundation:: BOOL); |
| 95 |
::windows_targets::link!("pdh.dll" "system" fn PdhLookupPerfIndexByNameA(szmachinename : ::windows_sys::core::PCSTR, sznamebuffer : ::windows_sys::core::PCSTR, pdwindex : *mut u32) -> u32); |
| 96 |
::windows_targets::link!("pdh.dll" "system" fn PdhLookupPerfIndexByNameW(szmachinename : ::windows_sys::core::PCWSTR, sznamebuffer : ::windows_sys::core::PCWSTR, pdwindex : *mut u32) -> u32); |
| 97 |
::windows_targets::link!("pdh.dll" "system" fn PdhLookupPerfNameByIndexA(szmachinename : ::windows_sys::core::PCSTR, dwnameindex : u32, sznamebuffer : ::windows_sys::core::PSTR, pcchnamebuffersize : *mut u32) -> u32); |
| 98 |
::windows_targets::link!("pdh.dll" "system" fn PdhLookupPerfNameByIndexW(szmachinename : ::windows_sys::core::PCWSTR, dwnameindex : u32, sznamebuffer : ::windows_sys::core::PWSTR, pcchnamebuffersize : *mut u32) -> u32); |
| 99 |
::windows_targets::link!("pdh.dll" "system" fn PdhMakeCounterPathA(pcounterpathelements : *const PDH_COUNTER_PATH_ELEMENTS_A, szfullpathbuffer : ::windows_sys::core::PSTR, pcchbuffersize : *mut u32, dwflags : PDH_PATH_FLAGS) -> u32); |
| 100 |
::windows_targets::link!("pdh.dll" "system" fn PdhMakeCounterPathW(pcounterpathelements : *const PDH_COUNTER_PATH_ELEMENTS_W, szfullpathbuffer : ::windows_sys::core::PWSTR, pcchbuffersize : *mut u32, dwflags : PDH_PATH_FLAGS) -> u32); |
| 101 |
::windows_targets::link!("pdh.dll" "system" 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) -> u32); |
| 102 |
::windows_targets::link!("pdh.dll" "system" 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) -> u32); |
| 103 |
::windows_targets::link!("pdh.dll" "system" fn PdhOpenQueryA(szdatasource : ::windows_sys::core::PCSTR, dwuserdata : usize, phquery : *mut isize) -> u32); |
| 104 |
::windows_targets::link!("pdh.dll" "system" fn PdhOpenQueryH(hdatasource : isize, dwuserdata : usize, phquery : *mut isize) -> u32); |
| 105 |
::windows_targets::link!("pdh.dll" "system" fn PdhOpenQueryW(szdatasource : ::windows_sys::core::PCWSTR, dwuserdata : usize, phquery : *mut isize) -> u32); |
| 106 |
::windows_targets::link!("pdh.dll" "system" fn PdhParseCounterPathA(szfullpathbuffer : ::windows_sys::core::PCSTR, pcounterpathelements : *mut PDH_COUNTER_PATH_ELEMENTS_A, pdwbuffersize : *mut u32, dwflags : u32) -> u32); |
| 107 |
::windows_targets::link!("pdh.dll" "system" fn PdhParseCounterPathW(szfullpathbuffer : ::windows_sys::core::PCWSTR, pcounterpathelements : *mut PDH_COUNTER_PATH_ELEMENTS_W, pdwbuffersize : *mut u32, dwflags : u32) -> u32); |
| 108 |
::windows_targets::link!("pdh.dll" "system" 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) -> u32); |
| 109 |
::windows_targets::link!("pdh.dll" "system" 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) -> u32); |
| 110 |
#[cfg(feature = "Win32_Foundation")] |
| 111 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhReadRawLogRecord(hlog : isize, ftrecord : super::super::Foundation:: FILETIME, prawlogrecord : *mut PDH_RAW_LOG_RECORD, pdwbufferlength : *mut u32) -> u32); |
| 112 |
::windows_targets::link!("pdh.dll" "system" fn PdhRemoveCounter(hcounter : isize) -> u32); |
| 113 |
#[cfg(feature = "Win32_Foundation")] |
| 114 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhSelectDataSourceA(hwndowner : super::super::Foundation:: HWND, dwflags : PDH_SELECT_DATA_SOURCE_FLAGS, szdatasource : ::windows_sys::core::PSTR, pcchbufferlength : *mut u32) -> u32); |
| 115 |
#[cfg(feature = "Win32_Foundation")] |
| 116 |
::windows_targets::link!("pdh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PdhSelectDataSourceW(hwndowner : super::super::Foundation:: HWND, dwflags : PDH_SELECT_DATA_SOURCE_FLAGS, szdatasource : ::windows_sys::core::PWSTR, pcchbufferlength : *mut u32) -> u32); |
| 117 |
::windows_targets::link!("pdh.dll" "system" fn PdhSetCounterScaleFactor(hcounter : isize, lfactor : i32) -> u32); |
| 118 |
::windows_targets::link!("pdh.dll" "system" fn PdhSetDefaultRealTimeDataSource(dwdatasourceid : REAL_TIME_DATA_SOURCE_ID_FLAGS) -> u32); |
| 119 |
::windows_targets::link!("pdh.dll" "system" fn PdhSetLogSetRunID(hlog : isize, runid : i32) -> u32); |
| 120 |
::windows_targets::link!("pdh.dll" "system" fn PdhSetQueryTimeRange(hquery : isize, pinfo : *const PDH_TIME_INFO) -> u32); |
| 121 |
::windows_targets::link!("pdh.dll" "system" fn PdhUpdateLogA(hlog : isize, szuserstring : ::windows_sys::core::PCSTR) -> u32); |
| 122 |
::windows_targets::link!("pdh.dll" "system" fn PdhUpdateLogFileCatalog(hlog : isize) -> u32); |
| 123 |
::windows_targets::link!("pdh.dll" "system" fn PdhUpdateLogW(hlog : isize, szuserstring : ::windows_sys::core::PCWSTR) -> u32); |
| 124 |
::windows_targets::link!("pdh.dll" "system" fn PdhValidatePathA(szfullpathbuffer : ::windows_sys::core::PCSTR) -> u32); |
| 125 |
::windows_targets::link!("pdh.dll" "system" fn PdhValidatePathExA(hdatasource : isize, szfullpathbuffer : ::windows_sys::core::PCSTR) -> u32); |
| 126 |
::windows_targets::link!("pdh.dll" "system" fn PdhValidatePathExW(hdatasource : isize, szfullpathbuffer : ::windows_sys::core::PCWSTR) -> u32); |
| 127 |
::windows_targets::link!("pdh.dll" "system" fn PdhValidatePathW(szfullpathbuffer : ::windows_sys::core::PCWSTR) -> u32); |
| 128 |
::windows_targets::link!("pdh.dll" "system" fn PdhVerifySQLDBA(szdatasource : ::windows_sys::core::PCSTR) -> u32); |
| 129 |
::windows_targets::link!("pdh.dll" "system" fn PdhVerifySQLDBW(szdatasource : ::windows_sys::core::PCWSTR) -> u32); |
| 130 |
#[cfg(feature = "Win32_Foundation")] |
| 131 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfAddCounters(hquery : super::super::Foundation:: HANDLE, pcounters : *mut PERF_COUNTER_IDENTIFIER, cbcounters : u32) -> u32); |
| 132 |
#[cfg(feature = "Win32_Foundation")] |
| 133 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfCloseQueryHandle(hquery : super::super::Foundation:: HANDLE) -> u32); |
| 134 |
#[cfg(feature = "Win32_Foundation")] |
| 135 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfCreateInstance(providerhandle : super::super::Foundation:: HANDLE, countersetguid : *const ::windows_sys::core::GUID, name : ::windows_sys::core::PCWSTR, id : u32) -> *mut PERF_COUNTERSET_INSTANCE); |
| 136 |
#[cfg(feature = "Win32_Foundation")] |
| 137 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfDecrementULongCounterValue(provider : super::super::Foundation:: HANDLE, instance : *mut PERF_COUNTERSET_INSTANCE, counterid : u32, value : u32) -> u32); |
| 138 |
#[cfg(feature = "Win32_Foundation")] |
| 139 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfDecrementULongLongCounterValue(provider : super::super::Foundation:: HANDLE, instance : *mut PERF_COUNTERSET_INSTANCE, counterid : u32, value : u64) -> u32); |
| 140 |
#[cfg(feature = "Win32_Foundation")] |
| 141 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfDeleteCounters(hquery : super::super::Foundation:: HANDLE, pcounters : *mut PERF_COUNTER_IDENTIFIER, cbcounters : u32) -> u32); |
| 142 |
#[cfg(feature = "Win32_Foundation")] |
| 143 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfDeleteInstance(provider : super::super::Foundation:: HANDLE, instanceblock : *const PERF_COUNTERSET_INSTANCE) -> u32); |
| 144 |
::windows_targets::link!("advapi32.dll" "system" fn PerfEnumerateCounterSet(szmachine : ::windows_sys::core::PCWSTR, pcountersetids : *mut ::windows_sys::core::GUID, ccountersetids : u32, pccountersetidsactual : *mut u32) -> u32); |
| 145 |
::windows_targets::link!("advapi32.dll" "system" fn PerfEnumerateCounterSetInstances(szmachine : ::windows_sys::core::PCWSTR, pcountersetid : *const ::windows_sys::core::GUID, pinstances : *mut PERF_INSTANCE_HEADER, cbinstances : u32, pcbinstancesactual : *mut u32) -> u32); |
| 146 |
#[cfg(feature = "Win32_Foundation")] |
| 147 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfIncrementULongCounterValue(provider : super::super::Foundation:: HANDLE, instance : *mut PERF_COUNTERSET_INSTANCE, counterid : u32, value : u32) -> u32); |
| 148 |
#[cfg(feature = "Win32_Foundation")] |
| 149 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfIncrementULongLongCounterValue(provider : super::super::Foundation:: HANDLE, instance : *mut PERF_COUNTERSET_INSTANCE, counterid : u32, value : u64) -> u32); |
| 150 |
#[cfg(feature = "Win32_Foundation")] |
| 151 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfOpenQueryHandle(szmachine : ::windows_sys::core::PCWSTR, phquery : *mut super::super::Foundation:: HANDLE) -> u32); |
| 152 |
#[cfg(feature = "Win32_Foundation")] |
| 153 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfQueryCounterData(hquery : super::super::Foundation:: HANDLE, pcounterblock : *mut PERF_DATA_HEADER, cbcounterblock : u32, pcbcounterblockactual : *mut u32) -> u32); |
| 154 |
#[cfg(feature = "Win32_Foundation")] |
| 155 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfQueryCounterInfo(hquery : super::super::Foundation:: HANDLE, pcounters : *mut PERF_COUNTER_IDENTIFIER, cbcounters : u32, pcbcountersactual : *mut u32) -> u32); |
| 156 |
::windows_targets::link!("advapi32.dll" "system" 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); |
| 157 |
#[cfg(feature = "Win32_Foundation")] |
| 158 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfQueryInstance(providerhandle : super::super::Foundation:: HANDLE, countersetguid : *const ::windows_sys::core::GUID, name : ::windows_sys::core::PCWSTR, id : u32) -> *mut PERF_COUNTERSET_INSTANCE); |
| 159 |
#[cfg(feature = "Win32_Foundation")] |
| 160 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfSetCounterRefValue(provider : super::super::Foundation:: HANDLE, instance : *mut PERF_COUNTERSET_INSTANCE, counterid : u32, address : *const ::core::ffi::c_void) -> u32); |
| 161 |
#[cfg(feature = "Win32_Foundation")] |
| 162 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfSetCounterSetInfo(providerhandle : super::super::Foundation:: HANDLE, template : *mut PERF_COUNTERSET_INFO, templatesize : u32) -> u32); |
| 163 |
#[cfg(feature = "Win32_Foundation")] |
| 164 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfSetULongCounterValue(provider : super::super::Foundation:: HANDLE, instance : *mut PERF_COUNTERSET_INSTANCE, counterid : u32, value : u32) -> u32); |
| 165 |
#[cfg(feature = "Win32_Foundation")] |
| 166 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfSetULongLongCounterValue(provider : super::super::Foundation:: HANDLE, instance : *mut PERF_COUNTERSET_INSTANCE, counterid : u32, value : u64) -> u32); |
| 167 |
#[cfg(feature = "Win32_Foundation")] |
| 168 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfStartProvider(providerguid : *const ::windows_sys::core::GUID, controlcallback : PERFLIBREQUEST, phprovider : *mut super::super::Foundation:: HANDLE) -> u32); |
| 169 |
#[cfg(feature = "Win32_Foundation")] |
| 170 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfStartProviderEx(providerguid : *const ::windows_sys::core::GUID, providercontext : *const PERF_PROVIDER_CONTEXT, provider : *mut super::super::Foundation:: HANDLE) -> u32); |
| 171 |
#[cfg(feature = "Win32_Foundation")] |
| 172 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PerfStopProvider(providerhandle : super::super::Foundation:: HANDLE) -> u32); |
| 173 |
#[cfg(feature = "Win32_Foundation")] |
| 174 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn QueryPerformanceCounter(lpperformancecount : *mut i64) -> super::super::Foundation:: BOOL); |
| 175 |
#[cfg(feature = "Win32_Foundation")] |
| 176 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn QueryPerformanceFrequency(lpfrequency : *mut i64) -> super::super::Foundation:: BOOL); |
| 177 |
::windows_targets::link!("loadperf.dll" "system" fn RestorePerfRegistryFromFileW(szfilename : ::windows_sys::core::PCWSTR, szlangid : ::windows_sys::core::PCWSTR) -> u32); |
| 178 |
::windows_targets::link!("loadperf.dll" "system" fn SetServiceAsTrustedA(szreserved : ::windows_sys::core::PCSTR, szservicename : ::windows_sys::core::PCSTR) -> u32); |
| 179 |
::windows_targets::link!("loadperf.dll" "system" fn SetServiceAsTrustedW(szreserved : ::windows_sys::core::PCWSTR, szservicename : ::windows_sys::core::PCWSTR) -> u32); |
| 180 |
#[cfg(feature = "Win32_Foundation")] |
| 181 |
::windows_targets::link!("loadperf.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn UnloadPerfCounterTextStringsA(lpcommandline : ::windows_sys::core::PCSTR, bquietmodearg : super::super::Foundation:: BOOL) -> u32); |
| 182 |
#[cfg(feature = "Win32_Foundation")] |
| 183 |
::windows_targets::link!("loadperf.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn UnloadPerfCounterTextStringsW(lpcommandline : ::windows_sys::core::PCWSTR, bquietmodearg : super::super::Foundation:: BOOL) -> u32); |
| 184 |
::windows_targets::link!("loadperf.dll" "system" fn UpdatePerfNameFilesA(sznewctrfilepath : ::windows_sys::core::PCSTR, sznewhlpfilepath : ::windows_sys::core::PCSTR, szlanguageid : ::windows_sys::core::PCSTR, dwflags : usize) -> u32); |
| 185 |
::windows_targets::link!("loadperf.dll" "system" fn UpdatePerfNameFilesW(sznewctrfilepath : ::windows_sys::core::PCWSTR, sznewhlpfilepath : ::windows_sys::core::PCWSTR, szlanguageid : ::windows_sys::core::PCWSTR, dwflags : usize) -> u32); |
| 186 |
pub type DICounterItem = *mut ::core::ffi::c_void; |
| 187 |
pub type DILogFileItem = *mut ::core::ffi::c_void; |
| 188 |
pub type DISystemMonitor = *mut ::core::ffi::c_void; |
| 189 |
pub type DISystemMonitorEvents = *mut ::core::ffi::c_void; |
| 190 |
pub type DISystemMonitorInternal = *mut ::core::ffi::c_void; |
| 191 |
pub type IAlertDataCollector = *mut ::core::ffi::c_void; |
| 192 |
pub type IApiTracingDataCollector = *mut ::core::ffi::c_void; |
| 193 |
pub type IConfigurationDataCollector = *mut ::core::ffi::c_void; |
| 194 |
pub type ICounterItem = *mut ::core::ffi::c_void; |
| 195 |
pub type ICounterItem2 = *mut ::core::ffi::c_void; |
| 196 |
pub type ICounters = *mut ::core::ffi::c_void; |
| 197 |
pub type IDataCollector = *mut ::core::ffi::c_void; |
| 198 |
pub type IDataCollectorCollection = *mut ::core::ffi::c_void; |
| 199 |
pub type IDataCollectorSet = *mut ::core::ffi::c_void; |
| 200 |
pub type IDataCollectorSetCollection = *mut ::core::ffi::c_void; |
| 201 |
pub type IDataManager = *mut ::core::ffi::c_void; |
| 202 |
pub type IFolderAction = *mut ::core::ffi::c_void; |
| 203 |
pub type IFolderActionCollection = *mut ::core::ffi::c_void; |
| 204 |
pub type ILogFileItem = *mut ::core::ffi::c_void; |
| 205 |
pub type ILogFiles = *mut ::core::ffi::c_void; |
| 206 |
pub type IPerformanceCounterDataCollector = *mut ::core::ffi::c_void; |
| 207 |
pub type ISchedule = *mut ::core::ffi::c_void; |
| 208 |
pub type IScheduleCollection = *mut ::core::ffi::c_void; |
| 209 |
pub type ISystemMonitor = *mut ::core::ffi::c_void; |
| 210 |
pub type ISystemMonitor2 = *mut ::core::ffi::c_void; |
| 211 |
pub type ISystemMonitorEvents = *mut ::core::ffi::c_void; |
| 212 |
pub type ITraceDataCollector = *mut ::core::ffi::c_void; |
| 213 |
pub type ITraceDataProvider = *mut ::core::ffi::c_void; |
| 214 |
pub type ITraceDataProviderCollection = *mut ::core::ffi::c_void; |
| 215 |
pub type IValueMap = *mut ::core::ffi::c_void; |
| 216 |
pub type IValueMapItem = *mut ::core::ffi::c_void; |
| 217 |
pub type _ICounterItemUnion = *mut ::core::ffi::c_void; |
| 218 |
pub type _ISystemMonitorUnion = *mut ::core::ffi::c_void; |
| 219 |
pub const AppearPropPage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe49741e9_93a8_4ab1_8e96_bf4482282e9c); |
| 220 |
pub const BootTraceSession: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837538_098b_11d8_9414_505054503030); |
| 221 |
pub const BootTraceSessionCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837539_098b_11d8_9414_505054503030); |
| 222 |
pub const CounterItem: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc4d2d8e0_d1dd_11ce_940f_008029004348); |
| 223 |
pub const CounterItem2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x43196c62_c31f_4ce3_a02e_79efe0f6a525); |
| 224 |
pub const CounterPropPage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcf948561_ede8_11ce_941e_008029004347); |
| 225 |
pub const Counters: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb2b066d2_2aac_11cf_942f_008029004347); |
| 226 |
pub const DATA_SOURCE_REGISTRY: REAL_TIME_DATA_SOURCE_ID_FLAGS = 1u32; |
| 227 |
pub const DATA_SOURCE_WBEM: REAL_TIME_DATA_SOURCE_ID_FLAGS = 4u32; |
| 228 |
pub const DIID_DICounterItem: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc08c4ff2_0e2e_11cf_942c_008029004347); |
| 229 |
pub const DIID_DILogFileItem: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8d093ffc_f777_4917_82d1_833fbc54c58f); |
| 230 |
pub const DIID_DISystemMonitor: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x13d73d81_c32e_11cf_9398_00aa00a3ddea); |
| 231 |
pub const DIID_DISystemMonitorEvents: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x84979930_4ab3_11cf_943a_008029004347); |
| 232 |
pub const DIID_DISystemMonitorInternal: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x194eb242_c32c_11cf_9398_00aa00a3ddea); |
| 233 |
pub const DataCollectorSet: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837521_098b_11d8_9414_505054503030); |
| 234 |
pub const DataCollectorSetCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837525_098b_11d8_9414_505054503030); |
| 235 |
pub const GeneralPropPage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc3e5d3d2_1a03_11cf_942d_008029004347); |
| 236 |
pub const GraphPropPage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc3e5d3d3_1a03_11cf_942d_008029004347); |
| 237 |
pub const H_WBEM_DATASOURCE: i32 = -1i32; |
| 238 |
pub const LIBID_SystemMonitor: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1b773e42_2509_11cf_942f_008029004347); |
| 239 |
pub const LegacyDataCollectorSet: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837526_098b_11d8_9414_505054503030); |
| 240 |
pub const LegacyDataCollectorSetCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837527_098b_11d8_9414_505054503030); |
| 241 |
pub const LegacyTraceSession: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837528_098b_11d8_9414_505054503030); |
| 242 |
pub const LegacyTraceSessionCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837529_098b_11d8_9414_505054503030); |
| 243 |
pub const LogFileItem: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x16ec5be8_df93_4237_94e4_9ee918111d71); |
| 244 |
pub const LogFiles: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2735d9fd_f6b9_4f19_a5d9_e2d068584bc5); |
| 245 |
pub const MAX_COUNTER_PATH: u32 = 256u32; |
| 246 |
pub const MAX_PERF_OBJECTS_IN_QUERY_FUNCTION: i32 = 64i32; |
| 247 |
pub const PDH_ACCESS_DENIED: u32 = 3221228507u32; |
| 248 |
pub const PDH_ASYNC_QUERY_TIMEOUT: u32 = 2147485659u32; |
| 249 |
pub const PDH_BINARY_LOG_CORRUPT: u32 = 3221228535u32; |
| 250 |
pub const PDH_CALC_NEGATIVE_DENOMINATOR: u32 = 2147485654u32; |
| 251 |
pub const PDH_CALC_NEGATIVE_TIMEBASE: u32 = 2147485655u32; |
| 252 |
pub const PDH_CALC_NEGATIVE_VALUE: u32 = 2147485656u32; |
| 253 |
pub const PDH_CANNOT_CONNECT_MACHINE: u32 = 3221228483u32; |
| 254 |
pub const PDH_CANNOT_CONNECT_WMI_SERVER: u32 = 3221228520u32; |
| 255 |
pub const PDH_CANNOT_READ_NAME_STRINGS: u32 = 3221228488u32; |
| 256 |
pub const PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE: u32 = 2147485660u32; |
| 257 |
pub const PDH_COUNTER_ALREADY_IN_QUERY: u32 = 3221228534u32; |
| 258 |
pub const PDH_CSTATUS_BAD_COUNTERNAME: u32 = 3221228480u32; |
| 259 |
pub const PDH_CSTATUS_INVALID_DATA: u32 = 3221228474u32; |
| 260 |
pub const PDH_CSTATUS_ITEM_NOT_VALIDATED: u32 = 2147485651u32; |
| 261 |
pub const PDH_CSTATUS_NEW_DATA: u32 = 1u32; |
| 262 |
pub const PDH_CSTATUS_NO_COUNTER: u32 = 3221228473u32; |
| 263 |
pub const PDH_CSTATUS_NO_COUNTERNAME: u32 = 3221228479u32; |
| 264 |
pub const PDH_CSTATUS_NO_INSTANCE: u32 = 2147485649u32; |
| 265 |
pub const PDH_CSTATUS_NO_MACHINE: u32 = 2147485648u32; |
| 266 |
pub const PDH_CSTATUS_NO_OBJECT: u32 = 3221228472u32; |
| 267 |
pub const PDH_CSTATUS_VALID_DATA: u32 = 0u32; |
| 268 |
pub const PDH_CVERSION_WIN50: PDH_DLL_VERSION = 1280u32; |
| 269 |
pub const PDH_DATA_SOURCE_IS_LOG_FILE: u32 = 3221228494u32; |
| 270 |
pub const PDH_DATA_SOURCE_IS_REAL_TIME: u32 = 3221228495u32; |
| 271 |
pub const PDH_DIALOG_CANCELLED: u32 = 2147485657u32; |
| 272 |
pub const PDH_END_OF_LOG_FILE: u32 = 2147485658u32; |
| 273 |
pub const PDH_ENTRY_NOT_IN_LOG_FILE: u32 = 3221228493u32; |
| 274 |
pub const PDH_FILE_ALREADY_EXISTS: u32 = 3221228498u32; |
| 275 |
pub const PDH_FILE_NOT_FOUND: u32 = 3221228497u32; |
| 276 |
pub const PDH_FLAGS_FILE_BROWSER_ONLY: PDH_SELECT_DATA_SOURCE_FLAGS = 1u32; |
| 277 |
pub const PDH_FLAGS_NONE: PDH_SELECT_DATA_SOURCE_FLAGS = 0u32; |
| 278 |
pub const PDH_FMT_DOUBLE: PDH_FMT = 512u32; |
| 279 |
pub const PDH_FMT_LARGE: PDH_FMT = 1024u32; |
| 280 |
pub const PDH_FMT_LONG: PDH_FMT = 256u32; |
| 281 |
pub const PDH_FUNCTION_NOT_FOUND: u32 = 3221228478u32; |
| 282 |
pub const PDH_INCORRECT_APPEND_TIME: u32 = 3221228539u32; |
| 283 |
pub const PDH_INSUFFICIENT_BUFFER: u32 = 3221228482u32; |
| 284 |
pub const PDH_INVALID_ARGUMENT: u32 = 3221228477u32; |
| 285 |
pub const PDH_INVALID_BUFFER: u32 = 3221228481u32; |
| 286 |
pub const PDH_INVALID_DATA: u32 = 3221228486u32; |
| 287 |
pub const PDH_INVALID_DATASOURCE: u32 = 3221228509u32; |
| 288 |
pub const PDH_INVALID_HANDLE: u32 = 3221228476u32; |
| 289 |
pub const PDH_INVALID_INSTANCE: u32 = 3221228485u32; |
| 290 |
pub const PDH_INVALID_PATH: u32 = 3221228484u32; |
| 291 |
pub const PDH_INVALID_SQLDB: u32 = 3221228510u32; |
| 292 |
pub const PDH_INVALID_SQL_LOG_FORMAT: u32 = 3221228533u32; |
| 293 |
pub const PDH_LOGSVC_NOT_OPENED: u32 = 3221228505u32; |
| 294 |
pub const PDH_LOGSVC_QUERY_NOT_FOUND: u32 = 3221228504u32; |
| 295 |
pub const PDH_LOG_FILE_CREATE_ERROR: u32 = 3221228489u32; |
| 296 |
pub const PDH_LOG_FILE_OPEN_ERROR: u32 = 3221228490u32; |
| 297 |
pub const PDH_LOG_FILE_TOO_SMALL: u32 = 3221228508u32; |
| 298 |
pub const PDH_LOG_READ_ACCESS: PDH_LOG = 65536u32; |
| 299 |
pub const PDH_LOG_SAMPLE_TOO_SMALL: u32 = 3221228536u32; |
| 300 |
pub const PDH_LOG_TYPE_BINARY: PDH_LOG_TYPE = 8u32; |
| 301 |
pub const PDH_LOG_TYPE_CSV: PDH_LOG_TYPE = 1u32; |
| 302 |
pub const PDH_LOG_TYPE_NOT_FOUND: u32 = 3221228491u32; |
| 303 |
pub const PDH_LOG_TYPE_PERFMON: PDH_LOG_TYPE = 6u32; |
| 304 |
pub const PDH_LOG_TYPE_RETIRED_BIN: u32 = 3u32; |
| 305 |
pub const PDH_LOG_TYPE_SQL: PDH_LOG_TYPE = 7u32; |
| 306 |
pub const PDH_LOG_TYPE_TRACE_GENERIC: u32 = 5u32; |
| 307 |
pub const PDH_LOG_TYPE_TRACE_KERNEL: u32 = 4u32; |
| 308 |
pub const PDH_LOG_TYPE_TSV: PDH_LOG_TYPE = 2u32; |
| 309 |
pub const PDH_LOG_TYPE_UNDEFINED: PDH_LOG_TYPE = 0u32; |
| 310 |
pub const PDH_LOG_UPDATE_ACCESS: PDH_LOG = 262144u32; |
| 311 |
pub const PDH_LOG_WRITE_ACCESS: PDH_LOG = 131072u32; |
| 312 |
pub const PDH_MAX_COUNTER_NAME: u32 = 1024u32; |
| 313 |
pub const PDH_MAX_COUNTER_PATH: u32 = 2048u32; |
| 314 |
pub const PDH_MAX_DATASOURCE_PATH: u32 = 1024u32; |
| 315 |
pub const PDH_MAX_INSTANCE_NAME: u32 = 1024u32; |
| 316 |
pub const PDH_MAX_SCALE: i32 = 7i32; |
| 317 |
pub const PDH_MEMORY_ALLOCATION_FAILURE: u32 = 3221228475u32; |
| 318 |
pub const PDH_MIN_SCALE: i32 = -7i32; |
| 319 |
pub const PDH_MORE_DATA: u32 = 2147485650u32; |
| 320 |
pub const PDH_NOEXPANDCOUNTERS: u32 = 1u32; |
| 321 |
pub const PDH_NOEXPANDINSTANCES: u32 = 2u32; |
| 322 |
pub const PDH_NOT_IMPLEMENTED: u32 = 3221228499u32; |
| 323 |
pub const PDH_NO_COUNTERS: u32 = 3221228511u32; |
| 324 |
pub const PDH_NO_DATA: u32 = 2147485653u32; |
| 325 |
pub const PDH_NO_DIALOG_DATA: u32 = 3221228487u32; |
| 326 |
pub const PDH_NO_MORE_DATA: u32 = 3221228492u32; |
| 327 |
pub const PDH_OS_EARLIER_VERSION: u32 = 3221228538u32; |
| 328 |
pub const PDH_OS_LATER_VERSION: u32 = 3221228537u32; |
| 329 |
pub const PDH_PATH_WBEM_INPUT: PDH_PATH_FLAGS = 2u32; |
| 330 |
pub const PDH_PATH_WBEM_NONE: PDH_PATH_FLAGS = 0u32; |
| 331 |
pub const PDH_PATH_WBEM_RESULT: PDH_PATH_FLAGS = 1u32; |
| 332 |
pub const PDH_PLA_COLLECTION_ALREADY_RUNNING: u32 = 3221228521u32; |
| 333 |
pub const PDH_PLA_COLLECTION_NOT_FOUND: u32 = 3221228523u32; |
| 334 |
pub const PDH_PLA_ERROR_ALREADY_EXISTS: u32 = 3221228526u32; |
| 335 |
pub const PDH_PLA_ERROR_FILEPATH: u32 = 3221228528u32; |
| 336 |
pub const PDH_PLA_ERROR_NAME_TOO_LONG: u32 = 3221228532u32; |
| 337 |
pub const PDH_PLA_ERROR_NOSTART: u32 = 3221228525u32; |
| 338 |
pub const PDH_PLA_ERROR_SCHEDULE_ELAPSED: u32 = 3221228524u32; |
| 339 |
pub const PDH_PLA_ERROR_SCHEDULE_OVERLAP: u32 = 3221228522u32; |
| 340 |
pub const PDH_PLA_ERROR_TYPE_MISMATCH: u32 = 3221228527u32; |
| 341 |
pub const PDH_PLA_SERVICE_ERROR: u32 = 3221228529u32; |
| 342 |
pub const PDH_PLA_VALIDATION_ERROR: u32 = 3221228530u32; |
| 343 |
pub const PDH_PLA_VALIDATION_WARNING: u32 = 2147486707u32; |
| 344 |
pub const PDH_QUERY_PERF_DATA_TIMEOUT: u32 = 3221228542u32; |
| 345 |
pub const PDH_REFRESHCOUNTERS: u32 = 4u32; |
| 346 |
pub const PDH_RETRY: u32 = 2147485652u32; |
| 347 |
pub const PDH_SQL_ALLOCCON_FAILED: u32 = 3221228513u32; |
| 348 |
pub const PDH_SQL_ALLOC_FAILED: u32 = 3221228512u32; |
| 349 |
pub const PDH_SQL_ALTER_DETAIL_FAILED: u32 = 3221228541u32; |
| 350 |
pub const PDH_SQL_BIND_FAILED: u32 = 3221228519u32; |
| 351 |
pub const PDH_SQL_CONNECT_FAILED: u32 = 3221228518u32; |
| 352 |
pub const PDH_SQL_EXEC_DIRECT_FAILED: u32 = 3221228514u32; |
| 353 |
pub const PDH_SQL_FETCH_FAILED: u32 = 3221228515u32; |
| 354 |
pub const PDH_SQL_MORE_RESULTS_FAILED: u32 = 3221228517u32; |
| 355 |
pub const PDH_SQL_ROWCOUNT_FAILED: u32 = 3221228516u32; |
| 356 |
pub const PDH_STRING_NOT_FOUND: u32 = 3221228500u32; |
| 357 |
pub const PDH_UNABLE_MAP_NAME_FILES: u32 = 2147486677u32; |
| 358 |
pub const PDH_UNABLE_READ_LOG_HEADER: u32 = 3221228496u32; |
| 359 |
pub const PDH_UNKNOWN_LOGSVC_COMMAND: u32 = 3221228503u32; |
| 360 |
pub const PDH_UNKNOWN_LOG_FORMAT: u32 = 3221228502u32; |
| 361 |
pub const PDH_UNMATCHED_APPEND_COUNTER: u32 = 3221228540u32; |
| 362 |
pub const PDH_VERSION: PDH_DLL_VERSION = 1283u32; |
| 363 |
pub const PDH_WBEM_ERROR: u32 = 3221228506u32; |
| 364 |
pub const PERF_ADD_COUNTER: u32 = 1u32; |
| 365 |
pub const PERF_AGGREGATE_AVG: PERF_COUNTER_AGGREGATE_FUNC = 2u32; |
| 366 |
pub const PERF_AGGREGATE_INSTANCE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("_Total"); |
| 367 |
pub const PERF_AGGREGATE_MAX: u32 = 4u32; |
| 368 |
pub const PERF_AGGREGATE_MIN: PERF_COUNTER_AGGREGATE_FUNC = 3u32; |
| 369 |
pub const PERF_AGGREGATE_TOTAL: PERF_COUNTER_AGGREGATE_FUNC = 1u32; |
| 370 |
pub const PERF_AGGREGATE_UNDEFINED: PERF_COUNTER_AGGREGATE_FUNC = 0u32; |
| 371 |
pub const PERF_ATTRIB_BY_REFERENCE: u64 = 1u64; |
| 372 |
pub const PERF_ATTRIB_DISPLAY_AS_HEX: u64 = 16u64; |
| 373 |
pub const PERF_ATTRIB_DISPLAY_AS_REAL: u64 = 8u64; |
| 374 |
pub const PERF_ATTRIB_NO_DISPLAYABLE: u64 = 2u64; |
| 375 |
pub const PERF_ATTRIB_NO_GROUP_SEPARATOR: u64 = 4u64; |
| 376 |
pub const PERF_COLLECT_END: u32 = 6u32; |
| 377 |
pub const PERF_COLLECT_START: u32 = 5u32; |
| 378 |
pub const PERF_COUNTERSET: PerfCounterDataType = 6i32; |
| 379 |
pub const PERF_COUNTERSET_FLAG_AGGREGATE: u32 = 4u32; |
| 380 |
pub const PERF_COUNTERSET_FLAG_HISTORY: u32 = 8u32; |
| 381 |
pub const PERF_COUNTERSET_FLAG_INSTANCE: u32 = 16u32; |
| 382 |
pub const PERF_COUNTERSET_FLAG_MULTIPLE: u32 = 2u32; |
| 383 |
pub const PERF_COUNTERSET_MULTI_INSTANCES: u32 = 2u32; |
| 384 |
pub const PERF_COUNTERSET_SINGLE_AGGREGATE: u32 = 4u32; |
| 385 |
pub const PERF_COUNTERSET_SINGLE_INSTANCE: u32 = 0u32; |
| 386 |
pub const PERF_COUNTER_BASE: u32 = 196608u32; |
| 387 |
pub const PERF_COUNTER_ELAPSED: u32 = 262144u32; |
| 388 |
pub const PERF_COUNTER_FRACTION: u32 = 131072u32; |
| 389 |
pub const PERF_COUNTER_HISTOGRAM: u32 = 393216u32; |
| 390 |
pub const PERF_COUNTER_HISTOGRAM_TYPE: u32 = 2147483648u32; |
| 391 |
pub const PERF_COUNTER_PRECISION: u32 = 458752u32; |
| 392 |
pub const PERF_COUNTER_QUEUELEN: u32 = 327680u32; |
| 393 |
pub const PERF_COUNTER_RATE: u32 = 65536u32; |
| 394 |
pub const PERF_COUNTER_VALUE: u32 = 0u32; |
| 395 |
pub const PERF_DATA_REVISION: u32 = 1u32; |
| 396 |
pub const PERF_DATA_VERSION: u32 = 1u32; |
| 397 |
pub const PERF_DELTA_BASE: u32 = 8388608u32; |
| 398 |
pub const PERF_DELTA_COUNTER: u32 = 4194304u32; |
| 399 |
pub const PERF_DETAIL_ADVANCED: PERF_DETAIL = 200u32; |
| 400 |
pub const PERF_DETAIL_EXPERT: PERF_DETAIL = 300u32; |
| 401 |
pub const PERF_DETAIL_NOVICE: PERF_DETAIL = 100u32; |
| 402 |
pub const PERF_DETAIL_WIZARD: PERF_DETAIL = 400u32; |
| 403 |
pub const PERF_DISPLAY_NOSHOW: u32 = 1073741824u32; |
| 404 |
pub const PERF_DISPLAY_NO_SUFFIX: u32 = 0u32; |
| 405 |
pub const PERF_DISPLAY_PERCENT: u32 = 536870912u32; |
| 406 |
pub const PERF_DISPLAY_PER_SEC: u32 = 268435456u32; |
| 407 |
pub const PERF_DISPLAY_SECONDS: u32 = 805306368u32; |
| 408 |
pub const PERF_ENUM_INSTANCES: u32 = 3u32; |
| 409 |
pub const PERF_ERROR_RETURN: PerfCounterDataType = 0i32; |
| 410 |
pub const PERF_FILTER: u32 = 9u32; |
| 411 |
pub const PERF_INVERSE_COUNTER: u32 = 16777216u32; |
| 412 |
pub const PERF_MAX_INSTANCE_NAME: u32 = 1024u32; |
| 413 |
pub const PERF_METADATA_MULTIPLE_INSTANCES: i32 = -2i32; |
| 414 |
pub const PERF_METADATA_NO_INSTANCES: i32 = -3i32; |
| 415 |
pub const PERF_MULTIPLE_COUNTERS: PerfCounterDataType = 2i32; |
| 416 |
pub const PERF_MULTIPLE_INSTANCES: PerfCounterDataType = 4i32; |
| 417 |
pub const PERF_MULTI_COUNTER: u32 = 33554432u32; |
| 418 |
pub const PERF_NO_INSTANCES: i32 = -1i32; |
| 419 |
pub const PERF_NO_UNIQUE_ID: i32 = -1i32; |
| 420 |
pub const PERF_NUMBER_DECIMAL: u32 = 65536u32; |
| 421 |
pub const PERF_NUMBER_DEC_1000: u32 = 131072u32; |
| 422 |
pub const PERF_NUMBER_HEX: u32 = 0u32; |
| 423 |
pub const PERF_OBJECT_TIMER: u32 = 2097152u32; |
| 424 |
pub const PERF_PROVIDER_DRIVER: u32 = 2u32; |
| 425 |
pub const PERF_PROVIDER_KERNEL_MODE: u32 = 1u32; |
| 426 |
pub const PERF_PROVIDER_USER_MODE: u32 = 0u32; |
| 427 |
pub const PERF_REG_COUNTERSET_ENGLISH_NAME: PerfRegInfoType = 9i32; |
| 428 |
pub const PERF_REG_COUNTERSET_HELP_STRING: PerfRegInfoType = 4i32; |
| 429 |
pub const PERF_REG_COUNTERSET_NAME_STRING: PerfRegInfoType = 3i32; |
| 430 |
pub const PERF_REG_COUNTERSET_STRUCT: PerfRegInfoType = 1i32; |
| 431 |
pub const PERF_REG_COUNTER_ENGLISH_NAMES: PerfRegInfoType = 10i32; |
| 432 |
pub const PERF_REG_COUNTER_HELP_STRINGS: PerfRegInfoType = 6i32; |
| 433 |
pub const PERF_REG_COUNTER_NAME_STRINGS: PerfRegInfoType = 5i32; |
| 434 |
pub const PERF_REG_COUNTER_STRUCT: PerfRegInfoType = 2i32; |
| 435 |
pub const PERF_REG_PROVIDER_GUID: PerfRegInfoType = 8i32; |
| 436 |
pub const PERF_REG_PROVIDER_NAME: PerfRegInfoType = 7i32; |
| 437 |
pub const PERF_REMOVE_COUNTER: u32 = 2u32; |
| 438 |
pub const PERF_SINGLE_COUNTER: PerfCounterDataType = 1i32; |
| 439 |
pub const PERF_SIZE_DWORD: u32 = 0u32; |
| 440 |
pub const PERF_SIZE_LARGE: u32 = 256u32; |
| 441 |
pub const PERF_SIZE_VARIABLE_LEN: u32 = 768u32; |
| 442 |
pub const PERF_SIZE_ZERO: u32 = 512u32; |
| 443 |
pub const PERF_TEXT_ASCII: u32 = 65536u32; |
| 444 |
pub const PERF_TEXT_UNICODE: u32 = 0u32; |
| 445 |
pub const PERF_TIMER_100NS: u32 = 1048576u32; |
| 446 |
pub const PERF_TIMER_TICK: u32 = 0u32; |
| 447 |
pub const PERF_TYPE_COUNTER: u32 = 1024u32; |
| 448 |
pub const PERF_TYPE_NUMBER: u32 = 0u32; |
| 449 |
pub const PERF_TYPE_TEXT: u32 = 2048u32; |
| 450 |
pub const PERF_TYPE_ZERO: u32 = 3072u32; |
| 451 |
pub const PERF_WILDCARD_COUNTER: u32 = 4294967295u32; |
| 452 |
pub const PERF_WILDCARD_INSTANCE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("*"); |
| 453 |
pub const PLAL_ALERT_CMD_LINE_A_NAME: u32 = 512u32; |
| 454 |
pub const PLAL_ALERT_CMD_LINE_C_NAME: u32 = 1024u32; |
| 455 |
pub const PLAL_ALERT_CMD_LINE_D_TIME: u32 = 2048u32; |
| 456 |
pub const PLAL_ALERT_CMD_LINE_L_VAL: u32 = 4096u32; |
| 457 |
pub const PLAL_ALERT_CMD_LINE_MASK: u32 = 32512u32; |
| 458 |
pub const PLAL_ALERT_CMD_LINE_M_VAL: u32 = 8192u32; |
| 459 |
pub const PLAL_ALERT_CMD_LINE_SINGLE: u32 = 256u32; |
| 460 |
pub const PLAL_ALERT_CMD_LINE_U_TEXT: u32 = 16384u32; |
| 461 |
pub const PLA_CAPABILITY_AUTOLOGGER: u32 = 32u32; |
| 462 |
pub const PLA_CAPABILITY_LEGACY_SESSION: u32 = 8u32; |
| 463 |
pub const PLA_CAPABILITY_LEGACY_SVC: u32 = 16u32; |
| 464 |
pub const PLA_CAPABILITY_LOCAL: u32 = 268435456u32; |
| 465 |
pub const PLA_CAPABILITY_V1_SESSION: u32 = 2u32; |
| 466 |
pub const PLA_CAPABILITY_V1_SVC: u32 = 1u32; |
| 467 |
pub const PLA_CAPABILITY_V1_SYSTEM: u32 = 4u32; |
| 468 |
pub const S_PDH: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x04d66358_c4a1_419b_8023_23b73902de2c); |
| 469 |
pub const ServerDataCollectorSet: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837531_098b_11d8_9414_505054503030); |
| 470 |
pub const ServerDataCollectorSetCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837532_098b_11d8_9414_505054503030); |
| 471 |
pub const SourcePropPage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cf32aa1_7571_11d0_93c4_00aa00a3ddea); |
| 472 |
pub const SystemDataCollectorSet: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837546_098b_11d8_9414_505054503030); |
| 473 |
pub const SystemDataCollectorSetCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837547_098b_11d8_9414_505054503030); |
| 474 |
pub const SystemMonitor: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc4d2d8e0_d1dd_11ce_940f_008029004347); |
| 475 |
pub const SystemMonitor2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7f30578c_5f38_4612_acfe_6ed04c7b7af8); |
| 476 |
pub const TraceDataProvider: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837513_098b_11d8_9414_505054503030); |
| 477 |
pub const TraceDataProviderCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837511_098b_11d8_9414_505054503030); |
| 478 |
pub const TraceSession: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0383751c_098b_11d8_9414_505054503030); |
| 479 |
pub const TraceSessionCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03837530_098b_11d8_9414_505054503030); |
| 480 |
pub const WINPERF_LOG_DEBUG: u32 = 2u32; |
| 481 |
pub const WINPERF_LOG_NONE: u32 = 0u32; |
| 482 |
pub const WINPERF_LOG_USER: u32 = 1u32; |
| 483 |
pub const WINPERF_LOG_VERBOSE: u32 = 3u32; |
| 484 |
pub const plaAlert: DataCollectorType = 3i32; |
| 485 |
pub const plaApiTrace: DataCollectorType = 4i32; |
| 486 |
pub const plaBinary: FileFormat = 3i32; |
| 487 |
pub const plaBoth: StreamMode = 3i32; |
| 488 |
pub const plaBuffering: StreamMode = 4i32; |
| 489 |
pub const plaCommaSeparated: FileFormat = 0i32; |
| 490 |
pub const plaCompiling: DataCollectorSetStatus = 2i32; |
| 491 |
pub const plaComputer: AutoPathFormat = 2i32; |
| 492 |
pub const plaConfiguration: DataCollectorType = 2i32; |
| 493 |
pub const plaCreateCab: FolderActionSteps = 1i32; |
| 494 |
pub const plaCreateHtml: DataManagerSteps = 4i32; |
| 495 |
pub const plaCreateNew: CommitMode = 1i32; |
| 496 |
pub const plaCreateOrModify: CommitMode = 3i32; |
| 497 |
pub const plaCreateReport: DataManagerSteps = 1i32; |
| 498 |
pub const plaCycle: ClockType = 3i32; |
| 499 |
pub const plaDeleteCab: FolderActionSteps = 8i32; |
| 500 |
pub const plaDeleteData: FolderActionSteps = 2i32; |
| 501 |
pub const plaDeleteLargest: ResourcePolicy = 0i32; |
| 502 |
pub const plaDeleteOldest: ResourcePolicy = 1i32; |
| 503 |
pub const plaDeleteReport: FolderActionSteps = 16i32; |
| 504 |
pub const plaEveryday: WeekDays = 127i32; |
| 505 |
pub const plaFile: StreamMode = 1i32; |
| 506 |
pub const plaFlag: ValueMapType = 2i32; |
| 507 |
pub const plaFlagArray: ValueMapType = 3i32; |
| 508 |
pub const plaFlushTrace: CommitMode = 32i32; |
| 509 |
pub const plaFolderActions: DataManagerSteps = 8i32; |
| 510 |
pub const plaFriday: WeekDays = 32i32; |
| 511 |
pub const plaIndex: ValueMapType = 1i32; |
| 512 |
pub const plaModify: CommitMode = 2i32; |
| 513 |
pub const plaMonday: WeekDays = 2i32; |
| 514 |
pub const plaMonthDayHour: AutoPathFormat = 256i32; |
| 515 |
pub const plaMonthDayHourMinute: AutoPathFormat = 16384i32; |
| 516 |
pub const plaNone: AutoPathFormat = 0i32; |
| 517 |
pub const plaPattern: AutoPathFormat = 1i32; |
| 518 |
pub const plaPending: DataCollectorSetStatus = 3i32; |
| 519 |
pub const plaPerformance: ClockType = 1i32; |
| 520 |
pub const plaPerformanceCounter: DataCollectorType = 0i32; |
| 521 |
pub const plaRealTime: StreamMode = 2i32; |
| 522 |
pub const plaResourceFreeing: DataManagerSteps = 16i32; |
| 523 |
pub const plaRunOnce: WeekDays = 0i32; |
| 524 |
pub const plaRunRules: DataManagerSteps = 2i32; |
| 525 |
pub const plaRunning: DataCollectorSetStatus = 1i32; |
| 526 |
pub const plaSaturday: WeekDays = 64i32; |
| 527 |
pub const plaSendCab: FolderActionSteps = 4i32; |
| 528 |
pub const plaSerialNumber: AutoPathFormat = 512i32; |
| 529 |
pub const plaSql: FileFormat = 2i32; |
| 530 |
pub const plaStopped: DataCollectorSetStatus = 0i32; |
| 531 |
pub const plaSunday: WeekDays = 1i32; |
| 532 |
pub const plaSystem: ClockType = 2i32; |
| 533 |
pub const plaTabSeparated: FileFormat = 1i32; |
| 534 |
pub const plaThursday: WeekDays = 16i32; |
| 535 |
pub const plaTimeStamp: ClockType = 0i32; |
| 536 |
pub const plaTrace: DataCollectorType = 1i32; |
| 537 |
pub const plaTuesday: WeekDays = 4i32; |
| 538 |
pub const plaUndefined: DataCollectorSetStatus = 4i32; |
| 539 |
pub const plaUpdateRunningInstance: CommitMode = 16i32; |
| 540 |
pub const plaValidateOnly: CommitMode = 4096i32; |
| 541 |
pub const plaValidation: ValueMapType = 4i32; |
| 542 |
pub const plaWednesday: WeekDays = 8i32; |
| 543 |
pub const plaYearDayOfYear: AutoPathFormat = 1024i32; |
| 544 |
pub const plaYearMonth: AutoPathFormat = 2048i32; |
| 545 |
pub const plaYearMonthDay: AutoPathFormat = 4096i32; |
| 546 |
pub const plaYearMonthDayHour: AutoPathFormat = 8192i32; |
| 547 |
pub const sysmonAverage: ReportValueTypeConstants = 2i32; |
| 548 |
pub const sysmonBatchAddCounters: SysmonBatchReason = 2i32; |
| 549 |
pub const sysmonBatchAddFiles: SysmonBatchReason = 1i32; |
| 550 |
pub const sysmonBatchAddFilesAutoCounters: SysmonBatchReason = 3i32; |
| 551 |
pub const sysmonBatchNone: SysmonBatchReason = 0i32; |
| 552 |
pub const sysmonChartArea: DisplayTypeConstants = 4i32; |
| 553 |
pub const sysmonChartStackedArea: DisplayTypeConstants = 5i32; |
| 554 |
pub const sysmonCurrentActivity: DataSourceTypeConstants = 1i32; |
| 555 |
pub const sysmonCurrentValue: ReportValueTypeConstants = 1i32; |
| 556 |
pub const sysmonDataAvg: SysmonDataType = 1i32; |
| 557 |
pub const sysmonDataCount: SysmonDataType = 5i32; |
| 558 |
pub const sysmonDataMax: SysmonDataType = 3i32; |
| 559 |
pub const sysmonDataMin: SysmonDataType = 2i32; |
| 560 |
pub const sysmonDataTime: SysmonDataType = 4i32; |
| 561 |
pub const sysmonDefaultValue: ReportValueTypeConstants = 0i32; |
| 562 |
pub const sysmonFileBlg: SysmonFileType = 5i32; |
| 563 |
pub const sysmonFileCsv: SysmonFileType = 3i32; |
| 564 |
pub const sysmonFileGif: SysmonFileType = 7i32; |
| 565 |
pub const sysmonFileHtml: SysmonFileType = 1i32; |
| 566 |
pub const sysmonFileReport: SysmonFileType = 2i32; |
| 567 |
pub const sysmonFileRetiredBlg: SysmonFileType = 6i32; |
| 568 |
pub const sysmonFileTsv: SysmonFileType = 4i32; |
| 569 |
pub const sysmonHistogram: DisplayTypeConstants = 2i32; |
| 570 |
pub const sysmonLineGraph: DisplayTypeConstants = 1i32; |
| 571 |
pub const sysmonLogFiles: DataSourceTypeConstants = 2i32; |
| 572 |
pub const sysmonMaximum: ReportValueTypeConstants = 4i32; |
| 573 |
pub const sysmonMinimum: ReportValueTypeConstants = 3i32; |
| 574 |
pub const sysmonNullDataSource: DataSourceTypeConstants = -1i32; |
| 575 |
pub const sysmonReport: DisplayTypeConstants = 3i32; |
| 576 |
pub const sysmonSqlLog: DataSourceTypeConstants = 3i32; |
| 577 |
pub type AutoPathFormat = i32; |
| 578 |
pub type ClockType = i32; |
| 579 |
pub type CommitMode = i32; |
| 580 |
pub type DataCollectorSetStatus = i32; |
| 581 |
pub type DataCollectorType = i32; |
| 582 |
pub type DataManagerSteps = i32; |
| 583 |
pub type DataSourceTypeConstants = i32; |
| 584 |
pub type DisplayTypeConstants = i32; |
| 585 |
pub type FileFormat = i32; |
| 586 |
pub type FolderActionSteps = i32; |
| 587 |
pub type PDH_DLL_VERSION = u32; |
| 588 |
pub type PDH_FMT = u32; |
| 589 |
pub type PDH_LOG = u32; |
| 590 |
pub type PDH_LOG_TYPE = u32; |
| 591 |
pub type PDH_PATH_FLAGS = u32; |
| 592 |
pub type PDH_SELECT_DATA_SOURCE_FLAGS = u32; |
| 593 |
pub type PERF_COUNTER_AGGREGATE_FUNC = u32; |
| 594 |
pub type PERF_DETAIL = u32; |
| 595 |
pub type PerfCounterDataType = i32; |
| 596 |
pub type PerfRegInfoType = i32; |
| 597 |
pub type REAL_TIME_DATA_SOURCE_ID_FLAGS = u32; |
| 598 |
pub type ReportValueTypeConstants = i32; |
| 599 |
pub type ResourcePolicy = i32; |
| 600 |
pub type StreamMode = i32; |
| 601 |
pub type SysmonBatchReason = i32; |
| 602 |
pub type SysmonDataType = i32; |
| 603 |
pub type SysmonFileType = i32; |
| 604 |
pub type ValueMapType = i32; |
| 605 |
pub type WeekDays = i32; |
| 606 |
#[repr(C)] |
| 607 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 608 |
#[cfg(feature = "Win32_Foundation")] |
| 609 |
pub struct PDH_BROWSE_DLG_CONFIG_A { |
| 610 |
pub _bitfield: u32, |
| 611 |
pub hWndOwner: super::super::Foundation::HWND, |
| 612 |
pub szDataSource: ::windows_sys::core::PSTR, |
| 613 |
pub szReturnPathBuffer: ::windows_sys::core::PSTR, |
| 614 |
pub cchReturnPathLength: u32, |
| 615 |
pub pCallBack: CounterPathCallBack, |
| 616 |
pub dwCallBackArg: usize, |
| 617 |
pub CallBackStatus: i32, |
| 618 |
pub dwDefaultDetailLevel: PERF_DETAIL, |
| 619 |
pub szDialogBoxCaption: ::windows_sys::core::PSTR, |
| 620 |
} |
| 621 |
#[cfg(feature = "Win32_Foundation")] |
| 622 |
impl ::core::marker::Copy for PDH_BROWSE_DLG_CONFIG_A {} |
| 623 |
#[cfg(feature = "Win32_Foundation")] |
| 624 |
impl ::core::clone::Clone for PDH_BROWSE_DLG_CONFIG_A { |
| 625 |
fn clone(&self) -> Self { |
| 626 |
*self |
| 627 |
} |
| 628 |
} |
| 629 |
#[repr(C)] |
| 630 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 631 |
#[cfg(feature = "Win32_Foundation")] |
| 632 |
pub struct PDH_BROWSE_DLG_CONFIG_HA { |
| 633 |
pub _bitfield: u32, |
| 634 |
pub hWndOwner: super::super::Foundation::HWND, |
| 635 |
pub hDataSource: isize, |
| 636 |
pub szReturnPathBuffer: ::windows_sys::core::PSTR, |
| 637 |
pub cchReturnPathLength: u32, |
| 638 |
pub pCallBack: CounterPathCallBack, |
| 639 |
pub dwCallBackArg: usize, |
| 640 |
pub CallBackStatus: i32, |
| 641 |
pub dwDefaultDetailLevel: PERF_DETAIL, |
| 642 |
pub szDialogBoxCaption: ::windows_sys::core::PSTR, |
| 643 |
} |
| 644 |
#[cfg(feature = "Win32_Foundation")] |
| 645 |
impl ::core::marker::Copy for PDH_BROWSE_DLG_CONFIG_HA {} |
| 646 |
#[cfg(feature = "Win32_Foundation")] |
| 647 |
impl ::core::clone::Clone for PDH_BROWSE_DLG_CONFIG_HA { |
| 648 |
fn clone(&self) -> Self { |
| 649 |
*self |
| 650 |
} |
| 651 |
} |
| 652 |
#[repr(C)] |
| 653 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 654 |
#[cfg(feature = "Win32_Foundation")] |
| 655 |
pub struct PDH_BROWSE_DLG_CONFIG_HW { |
| 656 |
pub _bitfield: u32, |
| 657 |
pub hWndOwner: super::super::Foundation::HWND, |
| 658 |
pub hDataSource: isize, |
| 659 |
pub szReturnPathBuffer: ::windows_sys::core::PWSTR, |
| 660 |
pub cchReturnPathLength: u32, |
| 661 |
pub pCallBack: CounterPathCallBack, |
| 662 |
pub dwCallBackArg: usize, |
| 663 |
pub CallBackStatus: i32, |
| 664 |
pub dwDefaultDetailLevel: PERF_DETAIL, |
| 665 |
pub szDialogBoxCaption: ::windows_sys::core::PWSTR, |
| 666 |
} |
| 667 |
#[cfg(feature = "Win32_Foundation")] |
| 668 |
impl ::core::marker::Copy for PDH_BROWSE_DLG_CONFIG_HW {} |
| 669 |
#[cfg(feature = "Win32_Foundation")] |
| 670 |
impl ::core::clone::Clone for PDH_BROWSE_DLG_CONFIG_HW { |
| 671 |
fn clone(&self) -> Self { |
| 672 |
*self |
| 673 |
} |
| 674 |
} |
| 675 |
#[repr(C)] |
| 676 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 677 |
#[cfg(feature = "Win32_Foundation")] |
| 678 |
pub struct PDH_BROWSE_DLG_CONFIG_W { |
| 679 |
pub _bitfield: u32, |
| 680 |
pub hWndOwner: super::super::Foundation::HWND, |
| 681 |
pub szDataSource: ::windows_sys::core::PWSTR, |
| 682 |
pub szReturnPathBuffer: ::windows_sys::core::PWSTR, |
| 683 |
pub cchReturnPathLength: u32, |
| 684 |
pub pCallBack: CounterPathCallBack, |
| 685 |
pub dwCallBackArg: usize, |
| 686 |
pub CallBackStatus: i32, |
| 687 |
pub dwDefaultDetailLevel: PERF_DETAIL, |
| 688 |
pub szDialogBoxCaption: ::windows_sys::core::PWSTR, |
| 689 |
} |
| 690 |
#[cfg(feature = "Win32_Foundation")] |
| 691 |
impl ::core::marker::Copy for PDH_BROWSE_DLG_CONFIG_W {} |
| 692 |
#[cfg(feature = "Win32_Foundation")] |
| 693 |
impl ::core::clone::Clone for PDH_BROWSE_DLG_CONFIG_W { |
| 694 |
fn clone(&self) -> Self { |
| 695 |
*self |
| 696 |
} |
| 697 |
} |
| 698 |
#[repr(C)] |
| 699 |
pub struct PDH_COUNTER_INFO_A { |
| 700 |
pub dwLength: u32, |
| 701 |
pub dwType: u32, |
| 702 |
pub CVersion: u32, |
| 703 |
pub CStatus: u32, |
| 704 |
pub lScale: i32, |
| 705 |
pub lDefaultScale: i32, |
| 706 |
pub dwUserData: usize, |
| 707 |
pub dwQueryUserData: usize, |
| 708 |
pub szFullPath: ::windows_sys::core::PSTR, |
| 709 |
pub Anonymous: PDH_COUNTER_INFO_A_0, |
| 710 |
pub szExplainText: ::windows_sys::core::PSTR, |
| 711 |
pub DataBuffer: [u32; 1], |
| 712 |
} |
| 713 |
impl ::core::marker::Copy for PDH_COUNTER_INFO_A {} |
| 714 |
impl ::core::clone::Clone for PDH_COUNTER_INFO_A { |
| 715 |
fn clone(&self) -> Self { |
| 716 |
*self |
| 717 |
} |
| 718 |
} |
| 719 |
#[repr(C)] |
| 720 |
pub union PDH_COUNTER_INFO_A_0 { |
| 721 |
pub DataItemPath: PDH_DATA_ITEM_PATH_ELEMENTS_A, |
| 722 |
pub CounterPath: PDH_COUNTER_PATH_ELEMENTS_A, |
| 723 |
pub Anonymous: PDH_COUNTER_INFO_A_0_0, |
| 724 |
} |
| 725 |
impl ::core::marker::Copy for PDH_COUNTER_INFO_A_0 {} |
| 726 |
impl ::core::clone::Clone for PDH_COUNTER_INFO_A_0 { |
| 727 |
fn clone(&self) -> Self { |
| 728 |
*self |
| 729 |
} |
| 730 |
} |
| 731 |
#[repr(C)] |
| 732 |
pub struct PDH_COUNTER_INFO_A_0_0 { |
| 733 |
pub szMachineName: ::windows_sys::core::PSTR, |
| 734 |
pub szObjectName: ::windows_sys::core::PSTR, |
| 735 |
pub szInstanceName: ::windows_sys::core::PSTR, |
| 736 |
pub szParentInstance: ::windows_sys::core::PSTR, |
| 737 |
pub dwInstanceIndex: u32, |
| 738 |
pub szCounterName: ::windows_sys::core::PSTR, |
| 739 |
} |
| 740 |
impl ::core::marker::Copy for PDH_COUNTER_INFO_A_0_0 {} |
| 741 |
impl ::core::clone::Clone for PDH_COUNTER_INFO_A_0_0 { |
| 742 |
fn clone(&self) -> Self { |
| 743 |
*self |
| 744 |
} |
| 745 |
} |
| 746 |
#[repr(C)] |
| 747 |
pub struct PDH_COUNTER_INFO_W { |
| 748 |
pub dwLength: u32, |
| 749 |
pub dwType: u32, |
| 750 |
pub CVersion: u32, |
| 751 |
pub CStatus: u32, |
| 752 |
pub lScale: i32, |
| 753 |
pub lDefaultScale: i32, |
| 754 |
pub dwUserData: usize, |
| 755 |
pub dwQueryUserData: usize, |
| 756 |
pub szFullPath: ::windows_sys::core::PWSTR, |
| 757 |
pub Anonymous: PDH_COUNTER_INFO_W_0, |
| 758 |
pub szExplainText: ::windows_sys::core::PWSTR, |
| 759 |
pub DataBuffer: [u32; 1], |
| 760 |
} |
| 761 |
impl ::core::marker::Copy for PDH_COUNTER_INFO_W {} |
| 762 |
impl ::core::clone::Clone for PDH_COUNTER_INFO_W { |
| 763 |
fn clone(&self) -> Self { |
| 764 |
*self |
| 765 |
} |
| 766 |
} |
| 767 |
#[repr(C)] |
| 768 |
pub union PDH_COUNTER_INFO_W_0 { |
| 769 |
pub DataItemPath: PDH_DATA_ITEM_PATH_ELEMENTS_W, |
| 770 |
pub CounterPath: PDH_COUNTER_PATH_ELEMENTS_W, |
| 771 |
pub Anonymous: PDH_COUNTER_INFO_W_0_0, |
| 772 |
} |
| 773 |
impl ::core::marker::Copy for PDH_COUNTER_INFO_W_0 {} |
| 774 |
impl ::core::clone::Clone for PDH_COUNTER_INFO_W_0 { |
| 775 |
fn clone(&self) -> Self { |
| 776 |
*self |
| 777 |
} |
| 778 |
} |
| 779 |
#[repr(C)] |
| 780 |
pub struct PDH_COUNTER_INFO_W_0_0 { |
| 781 |
pub szMachineName: ::windows_sys::core::PWSTR, |
| 782 |
pub szObjectName: ::windows_sys::core::PWSTR, |
| 783 |
pub szInstanceName: ::windows_sys::core::PWSTR, |
| 784 |
pub szParentInstance: ::windows_sys::core::PWSTR, |
| 785 |
pub dwInstanceIndex: u32, |
| 786 |
pub szCounterName: ::windows_sys::core::PWSTR, |
| 787 |
} |
| 788 |
impl ::core::marker::Copy for PDH_COUNTER_INFO_W_0_0 {} |
| 789 |
impl ::core::clone::Clone for PDH_COUNTER_INFO_W_0_0 { |
| 790 |
fn clone(&self) -> Self { |
| 791 |
*self |
| 792 |
} |
| 793 |
} |
| 794 |
#[repr(C)] |
| 795 |
pub struct PDH_COUNTER_PATH_ELEMENTS_A { |
| 796 |
pub szMachineName: ::windows_sys::core::PSTR, |
| 797 |
pub szObjectName: ::windows_sys::core::PSTR, |
| 798 |
pub szInstanceName: ::windows_sys::core::PSTR, |
| 799 |
pub szParentInstance: ::windows_sys::core::PSTR, |
| 800 |
pub dwInstanceIndex: u32, |
| 801 |
pub szCounterName: ::windows_sys::core::PSTR, |
| 802 |
} |
| 803 |
impl ::core::marker::Copy for PDH_COUNTER_PATH_ELEMENTS_A {} |
| 804 |
impl ::core::clone::Clone for PDH_COUNTER_PATH_ELEMENTS_A { |
| 805 |
fn clone(&self) -> Self { |
| 806 |
*self |
| 807 |
} |
| 808 |
} |
| 809 |
#[repr(C)] |
| 810 |
pub struct PDH_COUNTER_PATH_ELEMENTS_W { |
| 811 |
pub szMachineName: ::windows_sys::core::PWSTR, |
| 812 |
pub szObjectName: ::windows_sys::core::PWSTR, |
| 813 |
pub szInstanceName: ::windows_sys::core::PWSTR, |
| 814 |
pub szParentInstance: ::windows_sys::core::PWSTR, |
| 815 |
pub dwInstanceIndex: u32, |
| 816 |
pub szCounterName: ::windows_sys::core::PWSTR, |
| 817 |
} |
| 818 |
impl ::core::marker::Copy for PDH_COUNTER_PATH_ELEMENTS_W {} |
| 819 |
impl ::core::clone::Clone for PDH_COUNTER_PATH_ELEMENTS_W { |
| 820 |
fn clone(&self) -> Self { |
| 821 |
*self |
| 822 |
} |
| 823 |
} |
| 824 |
#[repr(C)] |
| 825 |
pub struct PDH_DATA_ITEM_PATH_ELEMENTS_A { |
| 826 |
pub szMachineName: ::windows_sys::core::PSTR, |
| 827 |
pub ObjectGUID: ::windows_sys::core::GUID, |
| 828 |
pub dwItemId: u32, |
| 829 |
pub szInstanceName: ::windows_sys::core::PSTR, |
| 830 |
} |
| 831 |
impl ::core::marker::Copy for PDH_DATA_ITEM_PATH_ELEMENTS_A {} |
| 832 |
impl ::core::clone::Clone for PDH_DATA_ITEM_PATH_ELEMENTS_A { |
| 833 |
fn clone(&self) -> Self { |
| 834 |
*self |
| 835 |
} |
| 836 |
} |
| 837 |
#[repr(C)] |
| 838 |
pub struct PDH_DATA_ITEM_PATH_ELEMENTS_W { |
| 839 |
pub szMachineName: ::windows_sys::core::PWSTR, |
| 840 |
pub ObjectGUID: ::windows_sys::core::GUID, |
| 841 |
pub dwItemId: u32, |
| 842 |
pub szInstanceName: ::windows_sys::core::PWSTR, |
| 843 |
} |
| 844 |
impl ::core::marker::Copy for PDH_DATA_ITEM_PATH_ELEMENTS_W {} |
| 845 |
impl ::core::clone::Clone for PDH_DATA_ITEM_PATH_ELEMENTS_W { |
| 846 |
fn clone(&self) -> Self { |
| 847 |
*self |
| 848 |
} |
| 849 |
} |
| 850 |
#[repr(C)] |
| 851 |
pub struct PDH_FMT_COUNTERVALUE { |
| 852 |
pub CStatus: u32, |
| 853 |
pub Anonymous: PDH_FMT_COUNTERVALUE_0, |
| 854 |
} |
| 855 |
impl ::core::marker::Copy for PDH_FMT_COUNTERVALUE {} |
| 856 |
impl ::core::clone::Clone for PDH_FMT_COUNTERVALUE { |
| 857 |
fn clone(&self) -> Self { |
| 858 |
*self |
| 859 |
} |
| 860 |
} |
| 861 |
#[repr(C)] |
| 862 |
pub union PDH_FMT_COUNTERVALUE_0 { |
| 863 |
pub longValue: i32, |
| 864 |
pub doubleValue: f64, |
| 865 |
pub largeValue: i64, |
| 866 |
pub AnsiStringValue: ::windows_sys::core::PCSTR, |
| 867 |
pub WideStringValue: ::windows_sys::core::PCWSTR, |
| 868 |
} |
| 869 |
impl ::core::marker::Copy for PDH_FMT_COUNTERVALUE_0 {} |
| 870 |
impl ::core::clone::Clone for PDH_FMT_COUNTERVALUE_0 { |
| 871 |
fn clone(&self) -> Self { |
| 872 |
*self |
| 873 |
} |
| 874 |
} |
| 875 |
#[repr(C)] |
| 876 |
pub struct PDH_FMT_COUNTERVALUE_ITEM_A { |
| 877 |
pub szName: ::windows_sys::core::PSTR, |
| 878 |
pub FmtValue: PDH_FMT_COUNTERVALUE, |
| 879 |
} |
| 880 |
impl ::core::marker::Copy for PDH_FMT_COUNTERVALUE_ITEM_A {} |
| 881 |
impl ::core::clone::Clone for PDH_FMT_COUNTERVALUE_ITEM_A { |
| 882 |
fn clone(&self) -> Self { |
| 883 |
*self |
| 884 |
} |
| 885 |
} |
| 886 |
#[repr(C)] |
| 887 |
pub struct PDH_FMT_COUNTERVALUE_ITEM_W { |
| 888 |
pub szName: ::windows_sys::core::PWSTR, |
| 889 |
pub FmtValue: PDH_FMT_COUNTERVALUE, |
| 890 |
} |
| 891 |
impl ::core::marker::Copy for PDH_FMT_COUNTERVALUE_ITEM_W {} |
| 892 |
impl ::core::clone::Clone for PDH_FMT_COUNTERVALUE_ITEM_W { |
| 893 |
fn clone(&self) -> Self { |
| 894 |
*self |
| 895 |
} |
| 896 |
} |
| 897 |
#[repr(C)] |
| 898 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 899 |
#[cfg(feature = "Win32_Foundation")] |
| 900 |
pub struct PDH_LOG_SERVICE_QUERY_INFO_A { |
| 901 |
pub dwSize: u32, |
| 902 |
pub dwFlags: u32, |
| 903 |
pub dwLogQuota: u32, |
| 904 |
pub szLogFileCaption: ::windows_sys::core::PSTR, |
| 905 |
pub szDefaultDir: ::windows_sys::core::PSTR, |
| 906 |
pub szBaseFileName: ::windows_sys::core::PSTR, |
| 907 |
pub dwFileType: u32, |
| 908 |
pub dwReserved: u32, |
| 909 |
pub Anonymous: PDH_LOG_SERVICE_QUERY_INFO_A_0, |
| 910 |
} |
| 911 |
#[cfg(feature = "Win32_Foundation")] |
| 912 |
impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_A {} |
| 913 |
#[cfg(feature = "Win32_Foundation")] |
| 914 |
impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_A { |
| 915 |
fn clone(&self) -> Self { |
| 916 |
*self |
| 917 |
} |
| 918 |
} |
| 919 |
#[repr(C)] |
| 920 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 921 |
#[cfg(feature = "Win32_Foundation")] |
| 922 |
pub union PDH_LOG_SERVICE_QUERY_INFO_A_0 { |
| 923 |
pub Anonymous1: PDH_LOG_SERVICE_QUERY_INFO_A_0_0, |
| 924 |
pub Anonymous2: PDH_LOG_SERVICE_QUERY_INFO_A_0_1, |
| 925 |
} |
| 926 |
#[cfg(feature = "Win32_Foundation")] |
| 927 |
impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_A_0 {} |
| 928 |
#[cfg(feature = "Win32_Foundation")] |
| 929 |
impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_A_0 { |
| 930 |
fn clone(&self) -> Self { |
| 931 |
*self |
| 932 |
} |
| 933 |
} |
| 934 |
#[repr(C)] |
| 935 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 936 |
#[cfg(feature = "Win32_Foundation")] |
| 937 |
pub struct PDH_LOG_SERVICE_QUERY_INFO_A_0_0 { |
| 938 |
pub PdlAutoNameInterval: u32, |
| 939 |
pub PdlAutoNameUnits: u32, |
| 940 |
pub PdlCommandFilename: ::windows_sys::core::PSTR, |
| 941 |
pub PdlCounterList: ::windows_sys::core::PSTR, |
| 942 |
pub PdlAutoNameFormat: u32, |
| 943 |
pub PdlSampleInterval: u32, |
| 944 |
pub PdlLogStartTime: super::super::Foundation::FILETIME, |
| 945 |
pub PdlLogEndTime: super::super::Foundation::FILETIME, |
| 946 |
} |
| 947 |
#[cfg(feature = "Win32_Foundation")] |
| 948 |
impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_A_0_0 {} |
| 949 |
#[cfg(feature = "Win32_Foundation")] |
| 950 |
impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_A_0_0 { |
| 951 |
fn clone(&self) -> Self { |
| 952 |
*self |
| 953 |
} |
| 954 |
} |
| 955 |
#[repr(C)] |
| 956 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 957 |
#[cfg(feature = "Win32_Foundation")] |
| 958 |
pub struct PDH_LOG_SERVICE_QUERY_INFO_A_0_1 { |
| 959 |
pub TlNumberOfBuffers: u32, |
| 960 |
pub TlMinimumBuffers: u32, |
| 961 |
pub TlMaximumBuffers: u32, |
| 962 |
pub TlFreeBuffers: u32, |
| 963 |
pub TlBufferSize: u32, |
| 964 |
pub TlEventsLost: u32, |
| 965 |
pub TlLoggerThreadId: u32, |
| 966 |
pub TlBuffersWritten: u32, |
| 967 |
pub TlLogHandle: u32, |
| 968 |
pub TlLogFileName: ::windows_sys::core::PSTR, |
| 969 |
} |
| 970 |
#[cfg(feature = "Win32_Foundation")] |
| 971 |
impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_A_0_1 {} |
| 972 |
#[cfg(feature = "Win32_Foundation")] |
| 973 |
impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_A_0_1 { |
| 974 |
fn clone(&self) -> Self { |
| 975 |
*self |
| 976 |
} |
| 977 |
} |
| 978 |
#[repr(C)] |
| 979 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 980 |
#[cfg(feature = "Win32_Foundation")] |
| 981 |
pub struct PDH_LOG_SERVICE_QUERY_INFO_W { |
| 982 |
pub dwSize: u32, |
| 983 |
pub dwFlags: u32, |
| 984 |
pub dwLogQuota: u32, |
| 985 |
pub szLogFileCaption: ::windows_sys::core::PWSTR, |
| 986 |
pub szDefaultDir: ::windows_sys::core::PWSTR, |
| 987 |
pub szBaseFileName: ::windows_sys::core::PWSTR, |
| 988 |
pub dwFileType: u32, |
| 989 |
pub dwReserved: u32, |
| 990 |
pub Anonymous: PDH_LOG_SERVICE_QUERY_INFO_W_0, |
| 991 |
} |
| 992 |
#[cfg(feature = "Win32_Foundation")] |
| 993 |
impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_W {} |
| 994 |
#[cfg(feature = "Win32_Foundation")] |
| 995 |
impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_W { |
| 996 |
fn clone(&self) -> Self { |
| 997 |
*self |
| 998 |
} |
| 999 |
} |
| 1000 |
#[repr(C)] |
| 1001 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1002 |
#[cfg(feature = "Win32_Foundation")] |
| 1003 |
pub union PDH_LOG_SERVICE_QUERY_INFO_W_0 { |
| 1004 |
pub Anonymous1: PDH_LOG_SERVICE_QUERY_INFO_W_0_0, |
| 1005 |
pub Anonymous2: PDH_LOG_SERVICE_QUERY_INFO_W_0_1, |
| 1006 |
} |
| 1007 |
#[cfg(feature = "Win32_Foundation")] |
| 1008 |
impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_W_0 {} |
| 1009 |
#[cfg(feature = "Win32_Foundation")] |
| 1010 |
impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_W_0 { |
| 1011 |
fn clone(&self) -> Self { |
| 1012 |
*self |
| 1013 |
} |
| 1014 |
} |
| 1015 |
#[repr(C)] |
| 1016 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1017 |
#[cfg(feature = "Win32_Foundation")] |
| 1018 |
pub struct PDH_LOG_SERVICE_QUERY_INFO_W_0_0 { |
| 1019 |
pub PdlAutoNameInterval: u32, |
| 1020 |
pub PdlAutoNameUnits: u32, |
| 1021 |
pub PdlCommandFilename: ::windows_sys::core::PWSTR, |
| 1022 |
pub PdlCounterList: ::windows_sys::core::PWSTR, |
| 1023 |
pub PdlAutoNameFormat: u32, |
| 1024 |
pub PdlSampleInterval: u32, |
| 1025 |
pub PdlLogStartTime: super::super::Foundation::FILETIME, |
| 1026 |
pub PdlLogEndTime: super::super::Foundation::FILETIME, |
| 1027 |
} |
| 1028 |
#[cfg(feature = "Win32_Foundation")] |
| 1029 |
impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_W_0_0 {} |
| 1030 |
#[cfg(feature = "Win32_Foundation")] |
| 1031 |
impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_W_0_0 { |
| 1032 |
fn clone(&self) -> Self { |
| 1033 |
*self |
| 1034 |
} |
| 1035 |
} |
| 1036 |
#[repr(C)] |
| 1037 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1038 |
#[cfg(feature = "Win32_Foundation")] |
| 1039 |
pub struct PDH_LOG_SERVICE_QUERY_INFO_W_0_1 { |
| 1040 |
pub TlNumberOfBuffers: u32, |
| 1041 |
pub TlMinimumBuffers: u32, |
| 1042 |
pub TlMaximumBuffers: u32, |
| 1043 |
pub TlFreeBuffers: u32, |
| 1044 |
pub TlBufferSize: u32, |
| 1045 |
pub TlEventsLost: u32, |
| 1046 |
pub TlLoggerThreadId: u32, |
| 1047 |
pub TlBuffersWritten: u32, |
| 1048 |
pub TlLogHandle: u32, |
| 1049 |
pub TlLogFileName: ::windows_sys::core::PWSTR, |
| 1050 |
} |
| 1051 |
#[cfg(feature = "Win32_Foundation")] |
| 1052 |
impl ::core::marker::Copy for PDH_LOG_SERVICE_QUERY_INFO_W_0_1 {} |
| 1053 |
#[cfg(feature = "Win32_Foundation")] |
| 1054 |
impl ::core::clone::Clone for PDH_LOG_SERVICE_QUERY_INFO_W_0_1 { |
| 1055 |
fn clone(&self) -> Self { |
| 1056 |
*self |
| 1057 |
} |
| 1058 |
} |
| 1059 |
#[repr(C)] |
| 1060 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1061 |
#[cfg(feature = "Win32_Foundation")] |
| 1062 |
pub struct PDH_RAW_COUNTER { |
| 1063 |
pub CStatus: u32, |
| 1064 |
pub TimeStamp: super::super::Foundation::FILETIME, |
| 1065 |
pub FirstValue: i64, |
| 1066 |
pub SecondValue: i64, |
| 1067 |
pub MultiCount: u32, |
| 1068 |
} |
| 1069 |
#[cfg(feature = "Win32_Foundation")] |
| 1070 |
impl ::core::marker::Copy for PDH_RAW_COUNTER {} |
| 1071 |
#[cfg(feature = "Win32_Foundation")] |
| 1072 |
impl ::core::clone::Clone for PDH_RAW_COUNTER { |
| 1073 |
fn clone(&self) -> Self { |
| 1074 |
*self |
| 1075 |
} |
| 1076 |
} |
| 1077 |
#[repr(C)] |
| 1078 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1079 |
#[cfg(feature = "Win32_Foundation")] |
| 1080 |
pub struct PDH_RAW_COUNTER_ITEM_A { |
| 1081 |
pub szName: ::windows_sys::core::PSTR, |
| 1082 |
pub RawValue: PDH_RAW_COUNTER, |
| 1083 |
} |
| 1084 |
#[cfg(feature = "Win32_Foundation")] |
| 1085 |
impl ::core::marker::Copy for PDH_RAW_COUNTER_ITEM_A {} |
| 1086 |
#[cfg(feature = "Win32_Foundation")] |
| 1087 |
impl ::core::clone::Clone for PDH_RAW_COUNTER_ITEM_A { |
| 1088 |
fn clone(&self) -> Self { |
| 1089 |
*self |
| 1090 |
} |
| 1091 |
} |
| 1092 |
#[repr(C)] |
| 1093 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1094 |
#[cfg(feature = "Win32_Foundation")] |
| 1095 |
pub struct PDH_RAW_COUNTER_ITEM_W { |
| 1096 |
pub szName: ::windows_sys::core::PWSTR, |
| 1097 |
pub RawValue: PDH_RAW_COUNTER, |
| 1098 |
} |
| 1099 |
#[cfg(feature = "Win32_Foundation")] |
| 1100 |
impl ::core::marker::Copy for PDH_RAW_COUNTER_ITEM_W {} |
| 1101 |
#[cfg(feature = "Win32_Foundation")] |
| 1102 |
impl ::core::clone::Clone for PDH_RAW_COUNTER_ITEM_W { |
| 1103 |
fn clone(&self) -> Self { |
| 1104 |
*self |
| 1105 |
} |
| 1106 |
} |
| 1107 |
#[repr(C)] |
| 1108 |
pub struct PDH_RAW_LOG_RECORD { |
| 1109 |
pub dwStructureSize: u32, |
| 1110 |
pub dwRecordType: PDH_LOG_TYPE, |
| 1111 |
pub dwItems: u32, |
| 1112 |
pub RawBytes: [u8; 1], |
| 1113 |
} |
| 1114 |
impl ::core::marker::Copy for PDH_RAW_LOG_RECORD {} |
| 1115 |
impl ::core::clone::Clone for PDH_RAW_LOG_RECORD { |
| 1116 |
fn clone(&self) -> Self { |
| 1117 |
*self |
| 1118 |
} |
| 1119 |
} |
| 1120 |
#[repr(C)] |
| 1121 |
pub struct PDH_STATISTICS { |
| 1122 |
pub dwFormat: u32, |
| 1123 |
pub count: u32, |
| 1124 |
pub min: PDH_FMT_COUNTERVALUE, |
| 1125 |
pub max: PDH_FMT_COUNTERVALUE, |
| 1126 |
pub mean: PDH_FMT_COUNTERVALUE, |
| 1127 |
} |
| 1128 |
impl ::core::marker::Copy for PDH_STATISTICS {} |
| 1129 |
impl ::core::clone::Clone for PDH_STATISTICS { |
| 1130 |
fn clone(&self) -> Self { |
| 1131 |
*self |
| 1132 |
} |
| 1133 |
} |
| 1134 |
#[repr(C)] |
| 1135 |
pub struct PDH_TIME_INFO { |
| 1136 |
pub StartTime: i64, |
| 1137 |
pub EndTime: i64, |
| 1138 |
pub SampleCount: u32, |
| 1139 |
} |
| 1140 |
impl ::core::marker::Copy for PDH_TIME_INFO {} |
| 1141 |
impl ::core::clone::Clone for PDH_TIME_INFO { |
| 1142 |
fn clone(&self) -> Self { |
| 1143 |
*self |
| 1144 |
} |
| 1145 |
} |
| 1146 |
#[repr(C)] |
| 1147 |
pub struct PERF_COUNTERSET_INFO { |
| 1148 |
pub CounterSetGuid: ::windows_sys::core::GUID, |
| 1149 |
pub ProviderGuid: ::windows_sys::core::GUID, |
| 1150 |
pub NumCounters: u32, |
| 1151 |
pub InstanceType: u32, |
| 1152 |
} |
| 1153 |
impl ::core::marker::Copy for PERF_COUNTERSET_INFO {} |
| 1154 |
impl ::core::clone::Clone for PERF_COUNTERSET_INFO { |
| 1155 |
fn clone(&self) -> Self { |
| 1156 |
*self |
| 1157 |
} |
| 1158 |
} |
| 1159 |
#[repr(C)] |
| 1160 |
pub struct PERF_COUNTERSET_INSTANCE { |
| 1161 |
pub CounterSetGuid: ::windows_sys::core::GUID, |
| 1162 |
pub dwSize: u32, |
| 1163 |
pub InstanceId: u32, |
| 1164 |
pub InstanceNameOffset: u32, |
| 1165 |
pub InstanceNameSize: u32, |
| 1166 |
} |
| 1167 |
impl ::core::marker::Copy for PERF_COUNTERSET_INSTANCE {} |
| 1168 |
impl ::core::clone::Clone for PERF_COUNTERSET_INSTANCE { |
| 1169 |
fn clone(&self) -> Self { |
| 1170 |
*self |
| 1171 |
} |
| 1172 |
} |
| 1173 |
#[repr(C)] |
| 1174 |
pub struct PERF_COUNTERSET_REG_INFO { |
| 1175 |
pub CounterSetGuid: ::windows_sys::core::GUID, |
| 1176 |
pub CounterSetType: u32, |
| 1177 |
pub DetailLevel: u32, |
| 1178 |
pub NumCounters: u32, |
| 1179 |
pub InstanceType: u32, |
| 1180 |
} |
| 1181 |
impl ::core::marker::Copy for PERF_COUNTERSET_REG_INFO {} |
| 1182 |
impl ::core::clone::Clone for PERF_COUNTERSET_REG_INFO { |
| 1183 |
fn clone(&self) -> Self { |
| 1184 |
*self |
| 1185 |
} |
| 1186 |
} |
| 1187 |
#[repr(C)] |
| 1188 |
pub struct PERF_COUNTER_BLOCK { |
| 1189 |
pub ByteLength: u32, |
| 1190 |
} |
| 1191 |
impl ::core::marker::Copy for PERF_COUNTER_BLOCK {} |
| 1192 |
impl ::core::clone::Clone for PERF_COUNTER_BLOCK { |
| 1193 |
fn clone(&self) -> Self { |
| 1194 |
*self |
| 1195 |
} |
| 1196 |
} |
| 1197 |
#[repr(C)] |
| 1198 |
pub struct PERF_COUNTER_DATA { |
| 1199 |
pub dwDataSize: u32, |
| 1200 |
pub dwSize: u32, |
| 1201 |
} |
| 1202 |
impl ::core::marker::Copy for PERF_COUNTER_DATA {} |
| 1203 |
impl ::core::clone::Clone for PERF_COUNTER_DATA { |
| 1204 |
fn clone(&self) -> Self { |
| 1205 |
*self |
| 1206 |
} |
| 1207 |
} |
| 1208 |
#[repr(C)] |
| 1209 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 1210 |
pub struct PERF_COUNTER_DEFINITION { |
| 1211 |
pub ByteLength: u32, |
| 1212 |
pub CounterNameTitleIndex: u32, |
| 1213 |
pub CounterNameTitle: u32, |
| 1214 |
pub CounterHelpTitleIndex: u32, |
| 1215 |
pub CounterHelpTitle: u32, |
| 1216 |
pub DefaultScale: i32, |
| 1217 |
pub DetailLevel: u32, |
| 1218 |
pub CounterType: u32, |
| 1219 |
pub CounterSize: u32, |
| 1220 |
pub CounterOffset: u32, |
| 1221 |
} |
| 1222 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 1223 |
impl ::core::marker::Copy for PERF_COUNTER_DEFINITION {} |
| 1224 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 1225 |
impl ::core::clone::Clone for PERF_COUNTER_DEFINITION { |
| 1226 |
fn clone(&self) -> Self { |
| 1227 |
*self |
| 1228 |
} |
| 1229 |
} |
| 1230 |
#[repr(C)] |
| 1231 |
#[cfg(target_arch = "x86")] |
| 1232 |
pub struct PERF_COUNTER_DEFINITION { |
| 1233 |
pub ByteLength: u32, |
| 1234 |
pub CounterNameTitleIndex: u32, |
| 1235 |
pub CounterNameTitle: ::windows_sys::core::PWSTR, |
| 1236 |
pub CounterHelpTitleIndex: u32, |
| 1237 |
pub CounterHelpTitle: ::windows_sys::core::PWSTR, |
| 1238 |
pub DefaultScale: i32, |
| 1239 |
pub DetailLevel: u32, |
| 1240 |
pub CounterType: u32, |
| 1241 |
pub CounterSize: u32, |
| 1242 |
pub CounterOffset: u32, |
| 1243 |
} |
| 1244 |
#[cfg(target_arch = "x86")] |
| 1245 |
impl ::core::marker::Copy for PERF_COUNTER_DEFINITION {} |
| 1246 |
#[cfg(target_arch = "x86")] |
| 1247 |
impl ::core::clone::Clone for PERF_COUNTER_DEFINITION { |
| 1248 |
fn clone(&self) -> Self { |
| 1249 |
*self |
| 1250 |
} |
| 1251 |
} |
| 1252 |
#[repr(C)] |
| 1253 |
pub struct PERF_COUNTER_HEADER { |
| 1254 |
pub dwStatus: u32, |
| 1255 |
pub dwType: PerfCounterDataType, |
| 1256 |
pub dwSize: u32, |
| 1257 |
pub Reserved: u32, |
| 1258 |
} |
| 1259 |
impl ::core::marker::Copy for PERF_COUNTER_HEADER {} |
| 1260 |
impl ::core::clone::Clone for PERF_COUNTER_HEADER { |
| 1261 |
fn clone(&self) -> Self { |
| 1262 |
*self |
| 1263 |
} |
| 1264 |
} |
| 1265 |
#[repr(C)] |
| 1266 |
pub struct PERF_COUNTER_IDENTIFIER { |
| 1267 |
pub CounterSetGuid: ::windows_sys::core::GUID, |
| 1268 |
pub Status: u32, |
| 1269 |
pub Size: u32, |
| 1270 |
pub CounterId: u32, |
| 1271 |
pub InstanceId: u32, |
| 1272 |
pub Index: u32, |
| 1273 |
pub Reserved: u32, |
| 1274 |
} |
| 1275 |
impl ::core::marker::Copy for PERF_COUNTER_IDENTIFIER {} |
| 1276 |
impl ::core::clone::Clone for PERF_COUNTER_IDENTIFIER { |
| 1277 |
fn clone(&self) -> Self { |
| 1278 |
*self |
| 1279 |
} |
| 1280 |
} |
| 1281 |
#[repr(C)] |
| 1282 |
pub struct PERF_COUNTER_IDENTITY { |
| 1283 |
pub CounterSetGuid: ::windows_sys::core::GUID, |
| 1284 |
pub BufferSize: u32, |
| 1285 |
pub CounterId: u32, |
| 1286 |
pub InstanceId: u32, |
| 1287 |
pub MachineOffset: u32, |
| 1288 |
pub NameOffset: u32, |
| 1289 |
pub Reserved: u32, |
| 1290 |
} |
| 1291 |
impl ::core::marker::Copy for PERF_COUNTER_IDENTITY {} |
| 1292 |
impl ::core::clone::Clone for PERF_COUNTER_IDENTITY { |
| 1293 |
fn clone(&self) -> Self { |
| 1294 |
*self |
| 1295 |
} |
| 1296 |
} |
| 1297 |
#[repr(C)] |
| 1298 |
pub struct PERF_COUNTER_INFO { |
| 1299 |
pub CounterId: u32, |
| 1300 |
pub Type: u32, |
| 1301 |
pub Attrib: u64, |
| 1302 |
pub Size: u32, |
| 1303 |
pub DetailLevel: u32, |
| 1304 |
pub Scale: i32, |
| 1305 |
pub Offset: u32, |
| 1306 |
} |
| 1307 |
impl ::core::marker::Copy for PERF_COUNTER_INFO {} |
| 1308 |
impl ::core::clone::Clone for PERF_COUNTER_INFO { |
| 1309 |
fn clone(&self) -> Self { |
| 1310 |
*self |
| 1311 |
} |
| 1312 |
} |
| 1313 |
#[repr(C)] |
| 1314 |
pub struct PERF_COUNTER_REG_INFO { |
| 1315 |
pub CounterId: u32, |
| 1316 |
pub Type: u32, |
| 1317 |
pub Attrib: u64, |
| 1318 |
pub DetailLevel: u32, |
| 1319 |
pub DefaultScale: i32, |
| 1320 |
pub BaseCounterId: u32, |
| 1321 |
pub PerfTimeId: u32, |
| 1322 |
pub PerfFreqId: u32, |
| 1323 |
pub MultiId: u32, |
| 1324 |
pub AggregateFunc: PERF_COUNTER_AGGREGATE_FUNC, |
| 1325 |
pub Reserved: u32, |
| 1326 |
} |
| 1327 |
impl ::core::marker::Copy for PERF_COUNTER_REG_INFO {} |
| 1328 |
impl ::core::clone::Clone for PERF_COUNTER_REG_INFO { |
| 1329 |
fn clone(&self) -> Self { |
| 1330 |
*self |
| 1331 |
} |
| 1332 |
} |
| 1333 |
#[repr(C)] |
| 1334 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1335 |
#[cfg(feature = "Win32_Foundation")] |
| 1336 |
pub struct PERF_DATA_BLOCK { |
| 1337 |
pub Signature: [u16; 4], |
| 1338 |
pub LittleEndian: u32, |
| 1339 |
pub Version: u32, |
| 1340 |
pub Revision: u32, |
| 1341 |
pub TotalByteLength: u32, |
| 1342 |
pub HeaderLength: u32, |
| 1343 |
pub NumObjectTypes: u32, |
| 1344 |
pub DefaultObject: i32, |
| 1345 |
pub SystemTime: super::super::Foundation::SYSTEMTIME, |
| 1346 |
pub PerfTime: i64, |
| 1347 |
pub PerfFreq: i64, |
| 1348 |
pub PerfTime100nSec: i64, |
| 1349 |
pub SystemNameLength: u32, |
| 1350 |
pub SystemNameOffset: u32, |
| 1351 |
} |
| 1352 |
#[cfg(feature = "Win32_Foundation")] |
| 1353 |
impl ::core::marker::Copy for PERF_DATA_BLOCK {} |
| 1354 |
#[cfg(feature = "Win32_Foundation")] |
| 1355 |
impl ::core::clone::Clone for PERF_DATA_BLOCK { |
| 1356 |
fn clone(&self) -> Self { |
| 1357 |
*self |
| 1358 |
} |
| 1359 |
} |
| 1360 |
#[repr(C)] |
| 1361 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1362 |
#[cfg(feature = "Win32_Foundation")] |
| 1363 |
pub struct PERF_DATA_HEADER { |
| 1364 |
pub dwTotalSize: u32, |
| 1365 |
pub dwNumCounters: u32, |
| 1366 |
pub PerfTimeStamp: i64, |
| 1367 |
pub PerfTime100NSec: i64, |
| 1368 |
pub PerfFreq: i64, |
| 1369 |
pub SystemTime: super::super::Foundation::SYSTEMTIME, |
| 1370 |
} |
| 1371 |
#[cfg(feature = "Win32_Foundation")] |
| 1372 |
impl ::core::marker::Copy for PERF_DATA_HEADER {} |
| 1373 |
#[cfg(feature = "Win32_Foundation")] |
| 1374 |
impl ::core::clone::Clone for PERF_DATA_HEADER { |
| 1375 |
fn clone(&self) -> Self { |
| 1376 |
*self |
| 1377 |
} |
| 1378 |
} |
| 1379 |
#[repr(C)] |
| 1380 |
pub struct PERF_INSTANCE_DEFINITION { |
| 1381 |
pub ByteLength: u32, |
| 1382 |
pub ParentObjectTitleIndex: u32, |
| 1383 |
pub ParentObjectInstance: u32, |
| 1384 |
pub UniqueID: i32, |
| 1385 |
pub NameOffset: u32, |
| 1386 |
pub NameLength: u32, |
| 1387 |
} |
| 1388 |
impl ::core::marker::Copy for PERF_INSTANCE_DEFINITION {} |
| 1389 |
impl ::core::clone::Clone for PERF_INSTANCE_DEFINITION { |
| 1390 |
fn clone(&self) -> Self { |
| 1391 |
*self |
| 1392 |
} |
| 1393 |
} |
| 1394 |
#[repr(C)] |
| 1395 |
pub struct PERF_INSTANCE_HEADER { |
| 1396 |
pub Size: u32, |
| 1397 |
pub InstanceId: u32, |
| 1398 |
} |
| 1399 |
impl ::core::marker::Copy for PERF_INSTANCE_HEADER {} |
| 1400 |
impl ::core::clone::Clone for PERF_INSTANCE_HEADER { |
| 1401 |
fn clone(&self) -> Self { |
| 1402 |
*self |
| 1403 |
} |
| 1404 |
} |
| 1405 |
#[repr(C)] |
| 1406 |
pub struct PERF_MULTI_COUNTERS { |
| 1407 |
pub dwSize: u32, |
| 1408 |
pub dwCounters: u32, |
| 1409 |
} |
| 1410 |
impl ::core::marker::Copy for PERF_MULTI_COUNTERS {} |
| 1411 |
impl ::core::clone::Clone for PERF_MULTI_COUNTERS { |
| 1412 |
fn clone(&self) -> Self { |
| 1413 |
*self |
| 1414 |
} |
| 1415 |
} |
| 1416 |
#[repr(C)] |
| 1417 |
pub struct PERF_MULTI_INSTANCES { |
| 1418 |
pub dwTotalSize: u32, |
| 1419 |
pub dwInstances: u32, |
| 1420 |
} |
| 1421 |
impl ::core::marker::Copy for PERF_MULTI_INSTANCES {} |
| 1422 |
impl ::core::clone::Clone for PERF_MULTI_INSTANCES { |
| 1423 |
fn clone(&self) -> Self { |
| 1424 |
*self |
| 1425 |
} |
| 1426 |
} |
| 1427 |
#[repr(C)] |
| 1428 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 1429 |
pub struct PERF_OBJECT_TYPE { |
| 1430 |
pub TotalByteLength: u32, |
| 1431 |
pub DefinitionLength: u32, |
| 1432 |
pub HeaderLength: u32, |
| 1433 |
pub ObjectNameTitleIndex: u32, |
| 1434 |
pub ObjectNameTitle: u32, |
| 1435 |
pub ObjectHelpTitleIndex: u32, |
| 1436 |
pub ObjectHelpTitle: u32, |
| 1437 |
pub DetailLevel: u32, |
| 1438 |
pub NumCounters: u32, |
| 1439 |
pub DefaultCounter: i32, |
| 1440 |
pub NumInstances: i32, |
| 1441 |
pub CodePage: u32, |
| 1442 |
pub PerfTime: i64, |
| 1443 |
pub PerfFreq: i64, |
| 1444 |
} |
| 1445 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 1446 |
impl ::core::marker::Copy for PERF_OBJECT_TYPE {} |
| 1447 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 1448 |
impl ::core::clone::Clone for PERF_OBJECT_TYPE { |
| 1449 |
fn clone(&self) -> Self { |
| 1450 |
*self |
| 1451 |
} |
| 1452 |
} |
| 1453 |
#[repr(C)] |
| 1454 |
#[cfg(target_arch = "x86")] |
| 1455 |
pub struct PERF_OBJECT_TYPE { |
| 1456 |
pub TotalByteLength: u32, |
| 1457 |
pub DefinitionLength: u32, |
| 1458 |
pub HeaderLength: u32, |
| 1459 |
pub ObjectNameTitleIndex: u32, |
| 1460 |
pub ObjectNameTitle: ::windows_sys::core::PWSTR, |
| 1461 |
pub ObjectHelpTitleIndex: u32, |
| 1462 |
pub ObjectHelpTitle: ::windows_sys::core::PWSTR, |
| 1463 |
pub DetailLevel: u32, |
| 1464 |
pub NumCounters: u32, |
| 1465 |
pub DefaultCounter: i32, |
| 1466 |
pub NumInstances: i32, |
| 1467 |
pub CodePage: u32, |
| 1468 |
pub PerfTime: i64, |
| 1469 |
pub PerfFreq: i64, |
| 1470 |
} |
| 1471 |
#[cfg(target_arch = "x86")] |
| 1472 |
impl ::core::marker::Copy for PERF_OBJECT_TYPE {} |
| 1473 |
#[cfg(target_arch = "x86")] |
| 1474 |
impl ::core::clone::Clone for PERF_OBJECT_TYPE { |
| 1475 |
fn clone(&self) -> Self { |
| 1476 |
*self |
| 1477 |
} |
| 1478 |
} |
| 1479 |
#[repr(C)] |
| 1480 |
pub struct PERF_PROVIDER_CONTEXT { |
| 1481 |
pub ContextSize: u32, |
| 1482 |
pub Reserved: u32, |
| 1483 |
pub ControlCallback: PERFLIBREQUEST, |
| 1484 |
pub MemAllocRoutine: PERF_MEM_ALLOC, |
| 1485 |
pub MemFreeRoutine: PERF_MEM_FREE, |
| 1486 |
pub pMemContext: *mut ::core::ffi::c_void, |
| 1487 |
} |
| 1488 |
impl ::core::marker::Copy for PERF_PROVIDER_CONTEXT {} |
| 1489 |
impl ::core::clone::Clone for PERF_PROVIDER_CONTEXT { |
| 1490 |
fn clone(&self) -> Self { |
| 1491 |
*self |
| 1492 |
} |
| 1493 |
} |
| 1494 |
#[repr(C)] |
| 1495 |
pub struct PERF_STRING_BUFFER_HEADER { |
| 1496 |
pub dwSize: u32, |
| 1497 |
pub dwCounters: u32, |
| 1498 |
} |
| 1499 |
impl ::core::marker::Copy for PERF_STRING_BUFFER_HEADER {} |
| 1500 |
impl ::core::clone::Clone for PERF_STRING_BUFFER_HEADER { |
| 1501 |
fn clone(&self) -> Self { |
| 1502 |
*self |
| 1503 |
} |
| 1504 |
} |
| 1505 |
#[repr(C)] |
| 1506 |
pub struct PERF_STRING_COUNTER_HEADER { |
| 1507 |
pub dwCounterId: u32, |
| 1508 |
pub dwOffset: u32, |
| 1509 |
} |
| 1510 |
impl ::core::marker::Copy for PERF_STRING_COUNTER_HEADER {} |
| 1511 |
impl ::core::clone::Clone for PERF_STRING_COUNTER_HEADER { |
| 1512 |
fn clone(&self) -> Self { |
| 1513 |
*self |
| 1514 |
} |
| 1515 |
} |
| 1516 |
pub type CounterPathCallBack = ::core::option::Option<unsafe extern "system" fn(param0: usize) -> i32>; |
| 1517 |
pub type PERFLIBREQUEST = ::core::option::Option<unsafe extern "system" fn(requestcode: u32, buffer: *mut ::core::ffi::c_void, buffersize: u32) -> u32>; |
| 1518 |
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>; |
| 1519 |
pub type PERF_MEM_FREE = ::core::option::Option<unsafe extern "system" fn(pbuffer: *mut ::core::ffi::c_void, pcontext: *mut ::core::ffi::c_void) -> ()>; |
| 1520 |
pub type PLA_CABEXTRACT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(filename: ::windows_sys::core::PCWSTR, context: *mut ::core::ffi::c_void) -> ()>; |
| 1521 |
pub type PM_CLOSE_PROC = ::core::option::Option<unsafe extern "system" fn() -> u32>; |
| 1522 |
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>; |
| 1523 |
pub type PM_OPEN_PROC = ::core::option::Option<unsafe extern "system" fn(pcontext: ::windows_sys::core::PCWSTR) -> u32>; |