Title | Function |
format void STM_EraseCdbuf (StmHn stm, Sint32 spos, Sint32 snum) Input stm: Stream handle : spos: Sector position (first sector is STM_CDBUF_TOP) snum: Number of sectors (STM_CDBUF_END for the end) Output None Function value None Function Erases sector data in the CD buffer section assigned to the stream.
Title | Function | Function Name | No |
format void STM_SetErrFunc (StmErrFunc func, void * obj) Input func: Error function (STM_ERR_NULLFUNC to cancel) obj: Registered object Output None Function value None Function Registers an error function for the stream system. registration function is called when an error occurs in the stream system. Remarks (a) The registration function has the following format. void (* StmErrFunc) (void * obj, Sint32 ec) : (b) The registration object is passed as the first argument of the registration function, and the error code is passed as the second argument You can . (c) Register the error function in the file system.
Title | Function | Function Name | No |
format void STM_GetErrStat (StmErrStat * stat) Input None Output stat: Error status Function value None Function Gets the error status of the stream system. Remarks The error status is acquired by calling from the error function.