// pmi.h
typedef struct _PMI_MEASUREMENT_CONFIGURATION {
ULONG AveragingInterval;
} PMI_MEASUREMENT_CONFIGURATION, *PPMI_MEASUREMENT_CONFIGURATION;
View the official Windows Driver Kit DDI referenceNo description available.
The PMI_MEASUREMENT_CONFIGURATION structure contains information about the current power measurement configuration of a power meter.
AveragingIntervalA value, in units of milliseconds (mS), that specifies the interval during which the power meter averages power measurement data.
The PMI_MEASUREMENT_CONFIGURATION structure specifies the current measurement parameters that the power meter uses when it monitors the power that is consumed by the system from a power supply. The AverageInterval member specifies the time interval over which the power meter averages the power measurement data it collects from a power supply.
Note The AverageInterval member must have a value between the values of the MinimumAverageInterval and MaximumAverageInterval members of the PMI_REPORTED_CAPABILITIES structure. This structure is returned in the PMI_CAPABILITIES structure of an IOCTL_PMI_GET_CAPABILITIES I/O control (IOCTL) query request.