FSResult FS_ARCHIVE_PROC_FUNC(
FSFile *p_file,
FSCommandType command /* = FS_COMMAND_OPENFILEFAST */);
Operating specifications for the archive command FS_COMMAND_OPENFILEFAST are shown below:
arg.openfilefast that is stored at p_file.nitro/fs/file.h as shown below:
typedef struct
{
FSFileID id;
} FSOpenFileFastInfo;
| Arguments | Content |
|---|---|
id |
The ID of the file to be opened. The FS_COMMAND_READDIR command generates this value. |
p_file variable prop.file as shown below:prop.file variables, based on the file ID that is defined in the id argument.FS_COMMAND_READFILE and FS_COMMAND_WRITEFILE commands. You may determine your own meanings for the prop.file variables as long as they are appropriate arguments for these commands. However, prop.file.pos must be within the range prop.file.top – prop.file.bottom.
prop.file.top |
The area top position that is acquired from the FAT information that the specified file index indicates. (Conforms to NitroROM format.) |
prop.file.bottom |
The area bottom position that is acquired from the FAT information that the specified file index indicates. (Conforms to NitroROM format.) |
prop.file.pos |
Sets the same value as prop.file.top |
prop.file.own_id |
Sets the argument id as-is. |
id.file_id. The FS_COMMAND_OPENFILEDIRECT command is used to make the setting.FSArchive, FS_ARCHIVE_PROC_FUNC, FS_COMMAND_*, FS_SetArchiveProc
07/12/2004 Initial Version