mfsHFsetCopyCount

Syntax

s32 mfsHFsetCopyCount(MfsFile handle, u8 count)

Arguments

handle   File handle
count   Copy counter value

Return value

Error

Function

Sets copy counter value

Description

This function sets the copy counter value of the file specified by handle to count.

Main errors

MFS_ERR_NO Normal termination
MFS_ERR_FATAL File open error
The file is not opened.
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 file attribute is write protected, or the volume attribute is write protected, or the parent directory is write protected.