PMI_EVENT_TYPE enumeration (pmi.h)

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.

Syntax

typedef enum {
  PmiCapabilitiesChangedEvent,
  PmiThresholdEvent,
  PmiConfigurationChangedEvent,
  PmiBudgetEvent,
  PmiAveragingIntervalChangedEvent,
  PmiEventMax
} PMI_EVENT_TYPE;

Constants

 
PmiCapabilitiesChangedEvent
The event was caused by a change in the PMI capabilities of the power meter.
PmiThresholdEvent
The event was caused because the power level exceeded a configured threshold of the power meter.
PmiConfigurationChangedEvent
The event was caused by a change in the PMI configuration of the power meter.
PmiBudgetEvent
The event was caused because the power budget exceeded or fell below the configured budget of the power meter.
PmiAveragingIntervalChangedEvent
The event was caused because the interval, during which the power meter averages power measurement data, was changed.
PmiEventMax
The maximum number of PMI event types.

Remarks

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.

Requirements

Requirement Value
Minimum supported client Available in Windows 7, Windows Server 2008 R2, and later versions of the Windows operating systems.
Header pmi.h (include Pmi.h)

See also

IOCTL_PMI_REGISTER_EVENT_NOTIFY

PMI_EVENT