// ntddk.h
typedef enum _PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE {
ResourceTypeSingle,
ResourceTypeRange,
ResourceTypeExtendedCounterConfiguration,
ResourceTypeOverflow,
ResourceTypeEventBuffer,
ResourceTypeIdenitificationTag,
ResourceTypeMax
} PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE;
View the official Windows Driver Kit DDI reference
No description available.
The PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE enumeration contains constants that indicate the type of hardware performance counter resource that is described by a PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure.
ResourceTypeSingle
A single hardware counter. The counter is described by the u.CounterIndex member of the PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure.
ResourceTypeRange
A range of counter indexes. The counter indexes are described by the u.Range member of the PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure.
ResourceTypeExtendedCounterConfiguration
An extended counter configuration register address. Specifying this value will result in HalAllocateHardwareCounters returning STATUS_NOT_SUPPORTED.
ResourceTypeOverflow
A counter overflow interrupt handler. The interrupt handler to be invoked is described by the u.OverflowHandler member of the PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure.
ResourceTypeEventBuffer
An event buffer configuration. The configuration of the event buffer threshold, entry size, and overflow handler are described by the u.EventBufferConfiguration member of the PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure.
ResourceTypeMax
The maximum value in this enumeration type.
ResourceTypeIdenitificationTag
The Type member of a PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure uses a PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE enumeration constant to indicate the type of counter resource that is described by the structure.
PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR
PPHYSICAL_COUNTER_OVERFLOW_HANDLER
PHYSICAL_COUNTER_EVENT_BUFFER_OVERFLOW_HANDLER