buf
is the user-allocated buffer for the version string.
buflen
is the length of buf in bytes.
Yes
MI_OK
The function was successful.
MI_ERROR
The function was not successful.