EMI_CHANNEL_V2 structure (emi.h)

The EMI_CHANNEL_V2 structure provides data about an EMI V2 channel.

Syntax

typedef struct {
  EMI_MEASUREMENT_UNIT MeasurementUnit;
  USHORT               ChannelNameSize;
  WCHAR                ChannelName[ANYSIZE_ARRAY];
} EMI_CHANNEL_V2;

Members

MeasurementUnit

An EMI_MEASUREMENT_UNIT that specifies the unit of energy measurements that can be obtained from the device from an IOCTL_EMI_GET_MEASUREMENT. In EMI_VERSION_V2, the only supported unit is picowatt-hours.

ChannelNameSize

The size of ChannelName in bytes, including the null terminator.

ChannelName[ANYSIZE_ARRAY]

A null-terminated, Unicode string that specifies the channel name.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 10, version 1809.
Header emi.h