ETW_PROCESS_HANDLE_INFO_TYPE enumeration (evntrace.h)
Specifies the operation that will be performed on a trace processing session. Used with the QueryTraceProcessingHandle function.
Specifies what kind of operation will be done on a handle. currently used with the QueryTraceProcessingHandle function.
Syntax
typedef enum _ETW_PROCESS_HANDLE_INFO_TYPE {
EtwQueryPartitionInformation = 1,
EtwQueryPartitionInformationV2 = 2,
EtwQueryLastDroppedTimes = 3,
EtwQueryLogFileHeader,
EtwQueryProcessHandleInfoMax
} ETW_PROCESS_HANDLE_INFO_TYPE;
Constants
EtwQueryPartitionInformation Value: 1 Used to query partition identifying information. InBuffer should be Null. OutBuffer should be large enough to hold the returned ETW_TRACE_PARTITION_INFORMATION structure. Note that this will only return a non-zero structure when the queried handle is for a trace file generated from a non-host partition on Windows 10, version 1709 or later. |
EtwQueryPartitionInformationV2 Value: 2 This is the same as EtwQueryPartitionInformation, except that it returns an ETW_TRACE_PARTITION_INFORMATION_V2 structure which has string partition IDs. |
EtwQueryLastDroppedTimes Value: 3 Returns a ULONG stream count followed by an array of LARGE_INTEGER timestamps, indexed by CPU number, of the last event dropped on each CPU stream. The zero timestamp indicates that the CPU stream never dropped any events. The timestamps use the clock type specified by the trace configuration (e.g. QPC, System Time, or CPU counter). |
EtwQueryProcessHandleInfoMax Marks the last value in the enumeration for testing purposes. Should not be used. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1709 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Header | evntrace.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for