IOCTL_EMI_GET_VERSION IOCTL (emi.h)
The IOCTL_EMI_GET_VERSION control code retrieves the current version of the EMI interface supported by the device.
Input buffer
None.
Input buffer length
None.
Output buffer
The AssociatedIrp.SystemBuffer member specifies the address of a caller-allocated buffer that contains a EMI_VERSION structure. On output, this structure holds the EMI version that is supported by the device.
Output buffer length
The size of this buffer is specified in the Parameters.DeviceIoControl.OutputBufferLength member.
Remarks
EMI_VERSION_V1 indicate there is only one single energy measurement channel supported by the device.
EMI_VERSION_V2 indicate there is multiple energy measurement channels supported by the device.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 10. |
Header | emi.h (include Emi.h) |