#include <revolution/cnt.h>
CNTFastOpen(CNTHandle* CntHandle, s32 entrynum, CNTFileinfo* cf);
CntHandle |
Pointer to the CNTHandle structure. |
entrynum |
Entry number of the file to open. |
cf |
Pointer to the file structure. |
Returns CNT_RESULT_OK when the file opens normally. Returns CNT_RESULT_INVALID if the specified entry number is invalid, or if the specified entry number is a directory.
Opens a file within the content file and initializes the specified CNTFileInfo structure. The difference with CNTOpen is that an entry number is specified rather than a file name. CNTConvertPathToEntrynum must be called first to get the entry number for the file.
CNTOpen, CNTConvertPathToEntrynum
2007/11/20 Standardized the use of the term "content file".
2006/12/04 Added result code descriptions.
2006/10/26 Initial version.
CONFIDENTIAL