<< Previous | Next >> | |
|
int mbr_UnmountPartition( mbr_drive * drive, int pnum );
Description
- Marks the partition as unmounted. The partition must not have any user partition data attached (through mounting at a higher level). If the
fs_part
pointer for the partition being unmounted is not null, anEPERM
error is returned.Parameters
- drive
- Pointer to a drive structure containing the partition
- pnum
- Partition number to be unmounted
Return value
- 0 for success
-EINVAL
if the Drive structure orpnum
is invalid.
-ENOPART
if the partition is enumerated at a higher level.Library
- PART.LIB
Dynamic C Functions | << Previous | Next >> | rabbit.com |