FF_UnmountPartition()
From FullFAT
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
- FF_CreateIOMAN()
- FF_DestroyIOMAN()
- FF_RegisterBlkDevice()
- FF_UnregisterBlkDevice()
- FF_MountPartition()
- FF_UnmountPartition()
Back to API

