This function returns the last error condition stored in the ulErrorRet field of the MMIOINFO structure that might contain additional information for the analysis of the last error routine.
#define INCL_MMIOOS2 #include <os2.h> HMMIO hmmio; /* Open file handle. */ ULONG rc; /* Return code. */ rc = mmioGetLastError(hmmio);