PMI_CAPABILITIES_TYPE enumeration (pmi.h)

The PMI_CAPABILITIES_TYPE enumeration defines the type of capabilities data that is referenced by the Capability member of the PMI_CAPABILITIES structure. This enumeration is also used to specify the type of PMI_CAPABILITIES structure to return through an IOCTL_PMI_GET_CAPABILITIES I/O control (IOCTL) request.

Syntax

typedef enum {
  PmiReportedCapabilities,
  PmiMeteredHardware,
  PmiCapabilitiesMax
} PMI_CAPABILITIES_TYPE;

Constants

 
PmiReportedCapabilities
The PMI capabilities data, formatted as a PMI_REPORTED_CAPABILITIES structure, specifies the power capabilities of the power meter.
PmiMeteredHardware
The PMI capabilities data, formatted as a PMI_METERED_HARDWARE_INFORMATION structure, specifies the hardware devices that the power meter provides measurement data to.
PmiCapabilitiesMax
The maximum number of PMI capability structures.

Remarks

The CapabilityType member of the PMI_CAPABILITIES structure contains information about the type of PMI capability data that is referenced by the Capabilities member of that structure. This structure is returned through a successful completion of an IOCTL_PMI_GET_CAPABILITIES 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_CAPABILITIES

PMI_CAPABILITIES

PMI_METERED_HARDWARE_INFORMATION

PMI_REPORTED_CAPABILITIES