Docs.rs
windows-sys-0.59.0
windows-sys 0.59.0
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
crates.io
Source
Owners
kennykerr
Dependencies
windows-targets ^0.52.6
normal
Versions
100%
of the crate is documented
Platform
x86_64-pc-windows-msvc
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
windows_sys
0.59.0
Module Performance
Modules
Structs
Constants
Functions
Type Aliases
Unions
In windows_sys::Win32::System
Module
windows_sys
::
Win32
::
System
::
Performance
Copy item path
[
−
]
Modules
§
HardwareCounterProfiling
Structs
§
PDH_BROWSE_DLG_CONFIG_A
PDH_BROWSE_DLG_CONFIG_HA
PDH_BROWSE_DLG_CONFIG_HW
PDH_BROWSE_DLG_CONFIG_W
PDH_COUNTER_INFO_A
PDH_COUNTER_INFO_A_0_0
PDH_COUNTER_INFO_W
PDH_COUNTER_INFO_W_0_0
PDH_COUNTER_PATH_ELEMENTS_A
PDH_COUNTER_PATH_ELEMENTS_W
PDH_DATA_ITEM_PATH_ELEMENTS_A
PDH_DATA_ITEM_PATH_ELEMENTS_W
PDH_FMT_COUNTERVALUE
PDH_FMT_COUNTERVALUE_ITEM_A
PDH_FMT_COUNTERVALUE_ITEM_W
PDH_LOG_SERVICE_QUERY_INFO_A
PDH_LOG_SERVICE_QUERY_INFO_A_0_0
PDH_LOG_SERVICE_QUERY_INFO_A_0_1
PDH_LOG_SERVICE_QUERY_INFO_W
PDH_LOG_SERVICE_QUERY_INFO_W_0_0
PDH_LOG_SERVICE_QUERY_INFO_W_0_1
PDH_RAW_COUNTER
PDH_RAW_COUNTER_ITEM_A
PDH_RAW_COUNTER_ITEM_W
PDH_RAW_LOG_RECORD
PDH_STATISTICS
PDH_TIME_INFO
PERF_COUNTERSET_INFO
PERF_COUNTERSET_INSTANCE
PERF_COUNTERSET_REG_INFO
PERF_COUNTER_BLOCK
PERF_COUNTER_DATA
PERF_COUNTER_DEFINITION
PERF_COUNTER_HEADER
PERF_COUNTER_IDENTIFIER
PERF_COUNTER_IDENTITY
PERF_COUNTER_INFO
PERF_COUNTER_REG_INFO
PERF_DATA_BLOCK
PERF_DATA_HEADER
PERF_INSTANCE_DEFINITION
PERF_INSTANCE_HEADER
PERF_MULTI_COUNTERS
PERF_MULTI_INSTANCES
PERF_OBJECT_TYPE
PERF_PROVIDER_CONTEXT
PERF_STRING_BUFFER_HEADER
PERF_STRING_COUNTER_HEADER
Constants
§
AppearPropPage
BootTraceSession
BootTraceSessionCollection
CounterItem
CounterItem2
CounterPropPage
Counters
DATA_SOURCE_REGISTRY
DATA_SOURCE_WBEM
DIID_DICounterItem
DIID_DILogFileItem
DIID_DISystemMonitor
DIID_DISystemMonitorEvents
DIID_DISystemMonitorInternal
DataCollectorSet
DataCollectorSetCollection
GeneralPropPage
GraphPropPage
H_WBEM_DATASOURCE
LIBID_SystemMonitor
LegacyDataCollectorSet
LegacyDataCollectorSetCollection
LegacyTraceSession
LegacyTraceSessionCollection
LogFileItem
LogFiles
MAX_COUNTER_PATH
MAX_PERF_OBJECTS_IN_QUERY_FUNCTION
PDH_ACCESS_DENIED
PDH_ASYNC_QUERY_TIMEOUT
PDH_BINARY_LOG_CORRUPT
PDH_CALC_NEGATIVE_DENOMINATOR
PDH_CALC_NEGATIVE_TIMEBASE
PDH_CALC_NEGATIVE_VALUE
PDH_CANNOT_CONNECT_MACHINE
PDH_CANNOT_CONNECT_WMI_SERVER
PDH_CANNOT_READ_NAME_STRINGS
PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE
PDH_COUNTER_ALREADY_IN_QUERY
PDH_CSTATUS_BAD_COUNTERNAME
PDH_CSTATUS_INVALID_DATA
PDH_CSTATUS_ITEM_NOT_VALIDATED
PDH_CSTATUS_NEW_DATA
PDH_CSTATUS_NO_COUNTER
PDH_CSTATUS_NO_COUNTERNAME
PDH_CSTATUS_NO_INSTANCE
PDH_CSTATUS_NO_MACHINE
PDH_CSTATUS_NO_OBJECT
PDH_CSTATUS_VALID_DATA
PDH_CVERSION_WIN50
PDH_DATA_SOURCE_IS_LOG_FILE
PDH_DATA_SOURCE_IS_REAL_TIME
PDH_DIALOG_CANCELLED
PDH_END_OF_LOG_FILE
PDH_ENTRY_NOT_IN_LOG_FILE
PDH_FILE_ALREADY_EXISTS
PDH_FILE_NOT_FOUND
PDH_FLAGS_FILE_BROWSER_ONLY
PDH_FLAGS_NONE
PDH_FMT_DOUBLE
PDH_FMT_LARGE
PDH_FMT_LONG
PDH_FUNCTION_NOT_FOUND
PDH_INCORRECT_APPEND_TIME
PDH_INSUFFICIENT_BUFFER
PDH_INVALID_ARGUMENT
PDH_INVALID_BUFFER
PDH_INVALID_DATA
PDH_INVALID_DATASOURCE
PDH_INVALID_HANDLE
PDH_INVALID_INSTANCE
PDH_INVALID_PATH
PDH_INVALID_SQLDB
PDH_INVALID_SQL_LOG_FORMAT
PDH_LOGSVC_NOT_OPENED
PDH_LOGSVC_QUERY_NOT_FOUND
PDH_LOG_FILE_CREATE_ERROR
PDH_LOG_FILE_OPEN_ERROR
PDH_LOG_FILE_TOO_SMALL
PDH_LOG_READ_ACCESS
PDH_LOG_SAMPLE_TOO_SMALL
PDH_LOG_TYPE_BINARY
PDH_LOG_TYPE_CSV
PDH_LOG_TYPE_NOT_FOUND
PDH_LOG_TYPE_PERFMON
PDH_LOG_TYPE_RETIRED_BIN
PDH_LOG_TYPE_SQL
PDH_LOG_TYPE_TRACE_GENERIC
PDH_LOG_TYPE_TRACE_KERNEL
PDH_LOG_TYPE_TSV
PDH_LOG_TYPE_UNDEFINED
PDH_LOG_UPDATE_ACCESS
PDH_LOG_WRITE_ACCESS
PDH_MAX_COUNTER_NAME
PDH_MAX_COUNTER_PATH
PDH_MAX_DATASOURCE_PATH
PDH_MAX_INSTANCE_NAME
PDH_MAX_SCALE
PDH_MEMORY_ALLOCATION_FAILURE
PDH_MIN_SCALE
PDH_MORE_DATA
PDH_NOEXPANDCOUNTERS
PDH_NOEXPANDINSTANCES
PDH_NOT_IMPLEMENTED
PDH_NO_COUNTERS
PDH_NO_DATA
PDH_NO_DIALOG_DATA
PDH_NO_MORE_DATA
PDH_OS_EARLIER_VERSION
PDH_OS_LATER_VERSION
PDH_PATH_WBEM_INPUT
PDH_PATH_WBEM_NONE
PDH_PATH_WBEM_RESULT
PDH_PLA_COLLECTION_ALREADY_RUNNING
PDH_PLA_COLLECTION_NOT_FOUND
PDH_PLA_ERROR_ALREADY_EXISTS
PDH_PLA_ERROR_FILEPATH
PDH_PLA_ERROR_NAME_TOO_LONG
PDH_PLA_ERROR_NOSTART
PDH_PLA_ERROR_SCHEDULE_ELAPSED
PDH_PLA_ERROR_SCHEDULE_OVERLAP
PDH_PLA_ERROR_TYPE_MISMATCH
PDH_PLA_SERVICE_ERROR
PDH_PLA_VALIDATION_ERROR
PDH_PLA_VALIDATION_WARNING
PDH_QUERY_PERF_DATA_TIMEOUT
PDH_REFRESHCOUNTERS
PDH_RETRY
PDH_SQL_ALLOCCON_FAILED
PDH_SQL_ALLOC_FAILED
PDH_SQL_ALTER_DETAIL_FAILED
PDH_SQL_BIND_FAILED
PDH_SQL_CONNECT_FAILED
PDH_SQL_EXEC_DIRECT_FAILED
PDH_SQL_FETCH_FAILED
PDH_SQL_MORE_RESULTS_FAILED
PDH_SQL_ROWCOUNT_FAILED
PDH_STRING_NOT_FOUND
PDH_UNABLE_MAP_NAME_FILES
PDH_UNABLE_READ_LOG_HEADER
PDH_UNKNOWN_LOGSVC_COMMAND
PDH_UNKNOWN_LOG_FORMAT
PDH_UNMATCHED_APPEND_COUNTER
PDH_VERSION
PDH_WBEM_ERROR
PERF_ADD_COUNTER
PERF_AGGREGATE_AVG
PERF_AGGREGATE_INSTANCE
PERF_AGGREGATE_MAX
PERF_AGGREGATE_MIN
PERF_AGGREGATE_TOTAL
PERF_AGGREGATE_UNDEFINED
PERF_ATTRIB_BY_REFERENCE
PERF_ATTRIB_DISPLAY_AS_HEX
PERF_ATTRIB_DISPLAY_AS_REAL
PERF_ATTRIB_NO_DISPLAYABLE
PERF_ATTRIB_NO_GROUP_SEPARATOR
PERF_COLLECT_END
PERF_COLLECT_START
PERF_COUNTERSET
PERF_COUNTERSET_FLAG_AGGREGATE
PERF_COUNTERSET_FLAG_HISTORY
PERF_COUNTERSET_FLAG_INSTANCE
PERF_COUNTERSET_FLAG_MULTIPLE
PERF_COUNTERSET_MULTI_INSTANCES
PERF_COUNTERSET_SINGLE_AGGREGATE
PERF_COUNTERSET_SINGLE_INSTANCE
PERF_COUNTER_BASE
PERF_COUNTER_ELAPSED
PERF_COUNTER_FRACTION
PERF_COUNTER_HISTOGRAM
PERF_COUNTER_HISTOGRAM_TYPE
PERF_COUNTER_PRECISION
PERF_COUNTER_QUEUELEN
PERF_COUNTER_RATE
PERF_COUNTER_VALUE
PERF_DATA_REVISION
PERF_DATA_VERSION
PERF_DELTA_BASE
PERF_DELTA_COUNTER
PERF_DETAIL_ADVANCED
PERF_DETAIL_EXPERT
PERF_DETAIL_NOVICE
PERF_DETAIL_WIZARD
PERF_DISPLAY_NOSHOW
PERF_DISPLAY_NO_SUFFIX
PERF_DISPLAY_PERCENT
PERF_DISPLAY_PER_SEC
PERF_DISPLAY_SECONDS
PERF_ENUM_INSTANCES
PERF_ERROR_RETURN
PERF_FILTER
PERF_INVERSE_COUNTER
PERF_MAX_INSTANCE_NAME
PERF_METADATA_MULTIPLE_INSTANCES
PERF_METADATA_NO_INSTANCES
PERF_MULTIPLE_COUNTERS
PERF_MULTIPLE_INSTANCES
PERF_MULTI_COUNTER
PERF_NO_INSTANCES
PERF_NO_UNIQUE_ID
PERF_NUMBER_DECIMAL
PERF_NUMBER_DEC_1000
PERF_NUMBER_HEX
PERF_OBJECT_TIMER
PERF_PROVIDER_DRIVER
PERF_PROVIDER_KERNEL_MODE
PERF_PROVIDER_USER_MODE
PERF_REG_COUNTERSET_ENGLISH_NAME
PERF_REG_COUNTERSET_HELP_STRING
PERF_REG_COUNTERSET_NAME_STRING
PERF_REG_COUNTERSET_STRUCT
PERF_REG_COUNTER_ENGLISH_NAMES
PERF_REG_COUNTER_HELP_STRINGS
PERF_REG_COUNTER_NAME_STRINGS
PERF_REG_COUNTER_STRUCT
PERF_REG_PROVIDER_GUID
PERF_REG_PROVIDER_NAME
PERF_REMOVE_COUNTER
PERF_SINGLE_COUNTER
PERF_SIZE_DWORD
PERF_SIZE_LARGE
PERF_SIZE_VARIABLE_LEN
PERF_SIZE_ZERO
PERF_TEXT_ASCII
PERF_TEXT_UNICODE
PERF_TIMER_100NS
PERF_TIMER_TICK
PERF_TYPE_COUNTER
PERF_TYPE_NUMBER
PERF_TYPE_TEXT
PERF_TYPE_ZERO
PERF_WILDCARD_COUNTER
PERF_WILDCARD_INSTANCE
PLAL_ALERT_CMD_LINE_A_NAME
PLAL_ALERT_CMD_LINE_C_NAME
PLAL_ALERT_CMD_LINE_D_TIME
PLAL_ALERT_CMD_LINE_L_VAL
PLAL_ALERT_CMD_LINE_MASK
PLAL_ALERT_CMD_LINE_M_VAL
PLAL_ALERT_CMD_LINE_SINGLE
PLAL_ALERT_CMD_LINE_U_TEXT
PLA_CAPABILITY_AUTOLOGGER
PLA_CAPABILITY_LEGACY_SESSION
PLA_CAPABILITY_LEGACY_SVC
PLA_CAPABILITY_LOCAL
PLA_CAPABILITY_V1_SESSION
PLA_CAPABILITY_V1_SVC
PLA_CAPABILITY_V1_SYSTEM
S_PDH
ServerDataCollectorSet
ServerDataCollectorSetCollection
SourcePropPage
SystemDataCollectorSet
SystemDataCollectorSetCollection
SystemMonitor
SystemMonitor2
TraceDataProvider
TraceDataProviderCollection
TraceSession
TraceSessionCollection
WINPERF_LOG_DEBUG
WINPERF_LOG_NONE
WINPERF_LOG_USER
WINPERF_LOG_VERBOSE
plaAlert
plaApiTrace
plaBinary
plaBoth
plaBuffering
plaCommaSeparated
plaCompiling
plaComputer
plaConfiguration
plaCreateCab
plaCreateHtml
plaCreateNew
plaCreateOrModify
plaCreateReport
plaCycle
plaDeleteCab
plaDeleteData
plaDeleteLargest
plaDeleteOldest
plaDeleteReport
plaEveryday
plaFile
plaFlag
plaFlagArray
plaFlushTrace
plaFolderActions
plaFriday
plaIndex
plaModify
plaMonday
plaMonthDayHour
plaMonthDayHourMinute
plaNone
plaPattern
plaPending
plaPerformance
plaPerformanceCounter
plaRealTime
plaResourceFreeing
plaRunOnce
plaRunRules
plaRunning
plaSaturday
plaSendCab
plaSerialNumber
plaSql
plaStopped
plaSunday
plaSystem
plaTabSeparated
plaThursday
plaTimeStamp
plaTrace
plaTuesday
plaUndefined
plaUpdateRunningInstance
plaValidateOnly
plaValidation
plaWednesday
plaYearDayOfYear
plaYearMonth
plaYearMonthDay
plaYearMonthDayHour
sysmonAverage
sysmonBatchAddCounters
sysmonBatchAddFiles
sysmonBatchAddFilesAutoCounters
sysmonBatchNone
sysmonChartArea
sysmonChartStackedArea
sysmonCurrentActivity
sysmonCurrentValue
sysmonDataAvg
sysmonDataCount
sysmonDataMax
sysmonDataMin
sysmonDataTime
sysmonDefaultValue
sysmonFileBlg
sysmonFileCsv
sysmonFileGif
sysmonFileHtml
sysmonFileReport
sysmonFileRetiredBlg
sysmonFileTsv
sysmonHistogram
sysmonLineGraph
sysmonLogFiles
sysmonMaximum
sysmonMinimum
sysmonNullDataSource
sysmonReport
sysmonSqlLog
Functions
§
BackupPerfRegistryToFileW
⚠
InstallPerfDllA
⚠
InstallPerfDllW
⚠
LoadPerfCounterTextStringsA
⚠
LoadPerfCounterTextStringsW
⚠
PdhAddCounterA
⚠
PdhAddCounterW
⚠
PdhAddEnglishCounterA
⚠
PdhAddEnglishCounterW
⚠
PdhBindInputDataSourceA
⚠
PdhBindInputDataSourceW
⚠
PdhBrowseCountersA
⚠
PdhBrowseCountersHA
⚠
PdhBrowseCountersHW
⚠
PdhBrowseCountersW
⚠
PdhCalculateCounterFromRawValue
⚠
PdhCloseLog
⚠
PdhCloseQuery
⚠
PdhCollectQueryData
⚠
PdhCollectQueryDataEx
⚠
PdhCollectQueryDataWithTime
⚠
PdhComputeCounterStatistics
⚠
PdhConnectMachineA
⚠
PdhConnectMachineW
⚠
PdhCreateSQLTablesA
⚠
PdhCreateSQLTablesW
⚠
PdhEnumLogSetNamesA
⚠
PdhEnumLogSetNamesW
⚠
PdhEnumMachinesA
⚠
PdhEnumMachinesHA
⚠
PdhEnumMachinesHW
⚠
PdhEnumMachinesW
⚠
PdhEnumObjectItemsA
⚠
PdhEnumObjectItemsHA
⚠
PdhEnumObjectItemsHW
⚠
PdhEnumObjectItemsW
⚠
PdhEnumObjectsA
⚠
PdhEnumObjectsHA
⚠
PdhEnumObjectsHW
⚠
PdhEnumObjectsW
⚠
PdhExpandCounterPathA
⚠
PdhExpandCounterPathW
⚠
PdhExpandWildCardPathA
⚠
PdhExpandWildCardPathHA
⚠
PdhExpandWildCardPathHW
⚠
PdhExpandWildCardPathW
⚠
PdhFormatFromRawValue
⚠
PdhGetCounterInfoA
⚠
PdhGetCounterInfoW
⚠
PdhGetCounterTimeBase
⚠
PdhGetDataSourceTimeRangeA
⚠
PdhGetDataSourceTimeRangeH
⚠
PdhGetDataSourceTimeRangeW
⚠
PdhGetDefaultPerfCounterA
⚠
PdhGetDefaultPerfCounterHA
⚠
PdhGetDefaultPerfCounterHW
⚠
PdhGetDefaultPerfCounterW
⚠
PdhGetDefaultPerfObjectA
⚠
PdhGetDefaultPerfObjectHA
⚠
PdhGetDefaultPerfObjectHW
⚠
PdhGetDefaultPerfObjectW
⚠
PdhGetDllVersion
⚠
PdhGetFormattedCounterArrayA
⚠
PdhGetFormattedCounterArrayW
⚠
PdhGetFormattedCounterValue
⚠
PdhGetLogFileSize
⚠
PdhGetLogSetGUID
⚠
PdhGetRawCounterArrayA
⚠
PdhGetRawCounterArrayW
⚠
PdhGetRawCounterValue
⚠
PdhIsRealTimeQuery
⚠
PdhLookupPerfIndexByNameA
⚠
PdhLookupPerfIndexByNameW
⚠
PdhLookupPerfNameByIndexA
⚠
PdhLookupPerfNameByIndexW
⚠
PdhMakeCounterPathA
⚠
PdhMakeCounterPathW
⚠
PdhOpenLogA
⚠
PdhOpenLogW
⚠
PdhOpenQueryA
⚠
PdhOpenQueryH
⚠
PdhOpenQueryW
⚠
PdhParseCounterPathA
⚠
PdhParseCounterPathW
⚠
PdhParseInstanceNameA
⚠
PdhParseInstanceNameW
⚠
PdhReadRawLogRecord
⚠
PdhRemoveCounter
⚠
PdhSelectDataSourceA
⚠
PdhSelectDataSourceW
⚠
PdhSetCounterScaleFactor
⚠
PdhSetDefaultRealTimeDataSource
⚠
PdhSetLogSetRunID
⚠
PdhSetQueryTimeRange
⚠
PdhUpdateLogA
⚠
PdhUpdateLogFileCatalog
⚠
PdhUpdateLogW
⚠
PdhValidatePathA
⚠
PdhValidatePathExA
⚠
PdhValidatePathExW
⚠
PdhValidatePathW
⚠
PdhVerifySQLDBA
⚠
PdhVerifySQLDBW
⚠
PerfAddCounters
⚠
PerfCloseQueryHandle
⚠
PerfCreateInstance
⚠
PerfDecrementULongCounterValue
⚠
PerfDecrementULongLongCounterValue
⚠
PerfDeleteCounters
⚠
PerfDeleteInstance
⚠
PerfEnumerateCounterSet
⚠
PerfEnumerateCounterSetInstances
⚠
PerfIncrementULongCounterValue
⚠
PerfIncrementULongLongCounterValue
⚠
PerfOpenQueryHandle
⚠
PerfQueryCounterData
⚠
PerfQueryCounterInfo
⚠
PerfQueryCounterSetRegistrationInfo
⚠
PerfQueryInstance
⚠
PerfSetCounterRefValue
⚠
PerfSetCounterSetInfo
⚠
PerfSetULongCounterValue
⚠
PerfSetULongLongCounterValue
⚠
PerfStartProvider
⚠
PerfStartProviderEx
⚠
PerfStopProvider
⚠
QueryPerformanceCounter
⚠
QueryPerformanceFrequency
⚠
RestorePerfRegistryFromFileW
⚠
SetServiceAsTrustedA
⚠
SetServiceAsTrustedW
⚠
UnloadPerfCounterTextStringsA
⚠
UnloadPerfCounterTextStringsW
⚠
UpdatePerfNameFilesA
⚠
UpdatePerfNameFilesW
⚠
Type Aliases
§
AutoPathFormat
ClockType
CommitMode
CounterPathCallBack
DataCollectorSetStatus
DataCollectorType
DataManagerSteps
DataSourceTypeConstants
DisplayTypeConstants
FileFormat
FolderActionSteps
PDH_DLL_VERSION
PDH_FMT
PDH_LOG
PDH_LOG_TYPE
PDH_PATH_FLAGS
PDH_SELECT_DATA_SOURCE_FLAGS
PERFLIBREQUEST
PERF_COUNTER_AGGREGATE_FUNC
PERF_DETAIL
PERF_MEM_ALLOC
PERF_MEM_FREE
PLA_CABEXTRACT_CALLBACK
PM_CLOSE_PROC
PM_COLLECT_PROC
PM_OPEN_PROC
PerfCounterDataType
PerfRegInfoType
REAL_TIME_DATA_SOURCE_ID_FLAGS
ReportValueTypeConstants
ResourcePolicy
StreamMode
SysmonBatchReason
SysmonDataType
SysmonFileType
ValueMapType
WeekDays
Unions
§
PDH_COUNTER_INFO_A_0
PDH_COUNTER_INFO_W_0
PDH_FMT_COUNTERVALUE_0
PDH_LOG_SERVICE_QUERY_INFO_A_0
PDH_LOG_SERVICE_QUERY_INFO_W_0