PMI_CONFIGURATION_TYPE enumeration (pmi.h)

The PMI_CONFIGURATION_TYPE enumeration defines the type of PMI configuration data that is referenced by the Configuration member of the PMI_CONFIGURATION structure. This enumeration is also used to specify the type of PMI_CAPABILITIES structure to return through an IOCTL_PMI_GET_CONFIGURATION I/O control (IOCTL) request.

Syntax

typedef enum {
  PmiMeasurementConfiguration,
  PmiBudgetingConfiguration,
  PmiThresholdConfiguration,
  PmiConfigurationMax
} PMI_CONFIGURATION_TYPE;

Constants

 
PmiMeasurementConfiguration
The PMI configuration data, formatted as a PMI_MEASUREMENT_CONFIGURATION structure, contains information about the measurement configuration of the power meter.
PmiBudgetingConfiguration
The PMI configuration data, formatted as a PMI_BUDGETING_CONFIGURATION structure, contains information about the budgeting configuration of the power meter.
PmiThresholdConfiguration
The PMI configuration data, formatted as a PMI_THRESHOLD_CONFIGURATION structure, contains information about the budgeting configuration of the power meter.
PmiConfigurationMax
The maximum number of PMI configuration structures.

Remarks

The ConfigurationType member of the PMI_CONFIGURATION structure contains information about the type of PMI configuration data that is referenced by the Configuration member of that structure. This structure is returned through a successful completion of an IOCTL_PMI_GET_CONFIGURATION IOCTL request and is passed in the input buffer for an IOCTL_PMI_SET_CONFIGURATION IOCTL 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_CONFIGURATION

IOCTL_PMI_SET_CONFIGURATION

PMI_BUDGETING_CONFIGURATION

PMI_CONFIGURATION

PMI_MEASUREMENT_CONFIGURATION

PMI_THRESHOLD_CONFIGURATION