PMI_MEASUREMENT_CONFIGURATION structure (pmi.h)

The PMI_MEASUREMENT_CONFIGURATION structure contains information about the current power measurement configuration of a power meter.

Syntax

typedef struct _PMI_MEASUREMENT_CONFIGURATION {
  ULONG AveragingInterval;
} PMI_MEASUREMENT_CONFIGURATION, *PPMI_MEASUREMENT_CONFIGURATION;

Members

AveragingInterval

A value, in units of milliseconds (mS), that specifies the interval during which the power meter averages power measurement data.

Remarks

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.
 

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_GET_CAPABILITIES

PMI_CAPABILITIES

PMI_REPORTED_CAPABILITIES