// pmi.h
typedef struct _PMI_MEASUREMENT_DATA {
ULONG Version;
ULONG CurrentPower;
} PMI_MEASUREMENT_DATA, *PPMI_MEASUREMENT_DATA;
View the official Windows Driver Kit DDI referenceNo description available.
The PMI_MEASUREMENT_DATA structure contains the current power measurement that is collected by a power meter.
VersionA value that specifies the version of this structure. For Windows 7, Windows Server 2008 R2, and later versions of Windows, this value must be 1.
CurrentPowerA value, in units of milliwatts (mW), that specifies the current power meter measurement.
The PMI_MEASUREMENT_DATA structure is returned through an IOCTL_PMI_GET_MEASUREMENT I/O control (IOCTL) query request. If the query request completes successfully, the request returns a PMI_MEASUREMENT_DATA structure.