mfsHResetVolumeRC
Syntax
s32 mfsHResetVolumeRC(s32 drive)

Arguments

drive Drive name ('A', 'B', ...)

Return value

Error

Function

Resets update counter of volume

Description

This function resets the update counter value of the volume to 0. Since the update counter only exists in the RAM area, the MFS_ERR_REFUSE error will occur if this function is used for the ROM area.

Main errors

MFS_ERR_NO Normal termination
MFS_ERR_NOTFOUND Drive not found
MFS_ERR_DEVICE Device error
An error occurred in an internally called Leo function.
Since a Leo function error is stored in the variable mfsError, check this variable to perform processing.
MFS_ERR_PROTECT Write protected
The volume attribute is write protected, or the medium is volume protected.
MFS_ERR_REFUSE Illegal operation