FSResult FS_ARCHIVE_PROC_FUNC(FSFile *p_file, FSCommandType command /* = FS_COMMAND_CLOSEFILE */);
Operating specifications for the archive command FS_COMMAND_CLOSEFILE are shown below:
This command takes as a command argument the variablearg.closefilethat is stored inp_file.
This variable is defined innitro/fs/file.has shown below:typedef struct { u32 reserved; } FSCloseFileInfo;
Argument content is listed below:
| Arguments | Content |
| reserved | Not used |
p_fileis a handle that always holds file information inprop.file.
Based on this information, in order to close a file it carries out required, special processes.
None
IfFS_RESULT_SUCCESSis returned by the command,p_filewill no longer be a handle that holds file information. From that point theFS_IsFilefunction will return FALSE. This is the same state that exists immediately after theFS_InitFilefunction is called.
FS_CloseFile
FSArchive, FS_ARCHIVE_PROC_FUNC, FS_COMMAND_*, FS_SetArchiveProc
07/12/2004 Initial version.
CONFIDENTIAL