stmtPtr
is a pointer to a previously opened statement.
Yes
MI_OK
The function was successful.
MI_ERROR
The function was not successful. The statement could not be closed.