// pmi.h
typedef enum {
PmiCapabilitiesChangedEvent,
PmiThresholdEvent,
PmiConfigurationChangedEvent,
PmiBudgetEvent,
PmiAveragingIntervalChangedEvent,
PmiEventMax
} PMI_EVENT_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
The PMI_EVENT_TYPE enumeration defines the type of PMI power meter event that is returned through the successful completion of an IOCTL_PMI_REGISTER_EVENT_NOTIFY request.
PmiCapabilitiesChangedEventThe event was caused by a change in the PMI capabilities of the power meter.
PmiThresholdEventThe event was caused because the power level exceeded a configured threshold of the power meter.
PmiConfigurationChangedEventThe event was caused by a change in the PMI configuration of the power meter.
PmiBudgetEventThe event was caused because the power budget exceeded or fell below the configured budget of the power meter.
PmiAveragingIntervalChangedEventThe event was caused because the interval, during which the power meter averages power measurement data, was changed.
PmiEventMaxThe maximum number of PMI event types.
The EventType member of the PMI_EVENT structure contains information about the type of PMI event data that is referenced by the Event member of that structure. This structure is returned through a successful completion of an IOCTL_PMI_REGISTER_EVENT_NOTIFY request.
IOCTL_PMI_REGISTER_EVENT_NOTIFY