mfsHGetFileCopyCount


Format: s32 mfsHGetFileCopyCount(const u8* path)

Arguments:

*path Pathname

Return value:Copy count (a negative value is an error)

Function: Obtains copy count of file

Description: This function obtains the copy count value of the file specified by path. This value is effective when bit 9 of the attribute is 1. Processing that references the copy count to determine whether or not the file can be copied should be performed by the application.

Main errors:

MFS_ERR_NO	Normal termination 
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_NOTFOUND  File not found
MFS_ERR_NOTFOUND File not found
		The file was not found, or the directory was not found.