#include <nitro/fs.h>
BOOL FS_ConvertPathToFileID( FSFileID *p_file_id, const char *path );
This function acquires the file ID from the specified path name. You can open a file by specifying this file ID when you call the FS_OpenFileFast function.
For information on the path name format, see the definition of the FS_OpenFile function.
This function cannot be called from the interrupt handler (IRQ mode). Note that the process may not be completed if interrupts are prohibited.
p_file_id |
Address of the FSFileID structure that holds results. |
path |
File's path name |
If the file ID is correctly acquired, it returns a value of TRUE. Otherwise it returns a value of FALSE.
FSFile,
FSFileID,
FS_OpenFileFast,
FS_OpenFile
11/02/2004 Added and corrected links.
09/24/2004 Added text under Caution regarding the conditions for calling this function.
05/20/2004 Initial version.