EMI IOCTLs

This section describes the I/O control codes (IOCTLs) that are supported by the Energy Measurement Interface (EMI).

In this section

Topic Description

IOCTL_EMI_GET_MEASUREMENT

The IOCTL_EMI_GET_MEASUREMENT control code retrieves the current energy measurement and the time at which the measurement was taken.

IOCTL_EMI_GET_METADATA

The IOCTL_EMI_GET_METADATA control code retrieves EMI metadata from a device.

IOCTL_EMI_GET_METADATA_SIZE

The IOCTL_EMI_GET_METADATA_SIZE control code retrieves the size of the EMI metadata object that can be obtained from the device by issuing an IOCTL_EMI_GET_METADATA request.

IOCTL_EMI_GET_VERSION

The IOCTL_EMI_GET_VERSION control code retrieves the current version of the EMI interface supported by the device.

 

Note   The EMI IOCTLs are supported in Windows 10 and later versions of the Windows operating systems.

 

Energy Metering Interface

 

 

Send comments about this topic to Microsoft