Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IOCTL_EMI_GET_VERSION control code retrieves the current version of the EMI interface supported by the device.
Input buffer
<text> None. </text>
Input buffer length
<text> None. </text>
Output buffer
<text> 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. </text>
Output buffer length
<text> The size of this buffer is specified in the Parameters.DeviceIoControl.OutputBufferLength member. </text>
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) |