PMI_MEASUREMENT_TYPE enumeration (pmi.h)

The PMI_MEASUREMENT_TYPE enumeration defines the source of the PMI measurement data.

Syntax

typedef enum {
  PmiMeasurementTypeInput,
  PmiMeasurementTypeOutput,
  PmiMeasurementTypeMax
} PMI_MEASUREMENT_TYPE;

Constants

 
PmiMeasurementTypeInput
The PMI measurement data is based on input power.
PmiMeasurementTypeOutput
The PMI measurement data is based on output power.
PmiMeasurementTypeMax
The maximum types of PMI measurement data.

Remarks

The MeasurementType member of the PMI_REPORTED_CAPABILITIES structure specifies the type of PMI measurement data reported by a power meter. This structure is returned through a successful completion of an IOCTL_PMI_GET_CAPABILITIES request.

PMI measurement data is returned through a query request of IOCTL_PMI_GET_MEASUREMENT.

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

IOCTL_PMI_GET_MEASUREMENT

PMI_REPORTED_CAPABILITIES