FF_UnmountPartition()

From FullFAT

Jump to: navigation, search


Attempts to Unmount the currently active mounted partition. This function fails if any FILE handles are active on the mounted partition.

Contents

Prototype

FF_ERROR FF_UnmountPartition(FF_IOMAN *pIoman);

Parameters

pIoman

Pointer to an FF_IOMAN object, as returned from the FF_CreateIOMAN() function.

Return Value

Returns FF_ERR_NONE on success.

All errors are negative, and can be passed to the FF_GetErrMessage() function to get a meaningful string describing the error.

Possible Error Codes

  • FF_ERR_NULL_POINTER - pIoman parameter was NULL.
  • FF_ERR_IOMAN_ACTIVE_HANDLES - There are active FILE or Working buffer handles on the partition.

See Also

Back to API

Personal tools