Returns the last error code.


int miraacq_GetErrorCode(makernel* pma);


Parameters:


Return value:

The error code from the last function that returned an error.


Description:

miraacq_GetErrorCode returns the error code from the last function that returned an error, functions that return MIRA_OK (0) do not change this value. The error message can be read using miraacq_GetErrorMsg.