#include <revolution/cnt.h>
s32 CNTOpen(CNTHandle* CntHandle, const char* filename, CNTFileInfo* cf);
CntHandle |
Pointer to the CNTHandle structure. |
filename |
Name of file to open. |
cf |
Pointer to the CNTFileInfo structure to be initialized. |
Returns CNT_RESULT_OK when the file opens normally. Returns CNT_RESULT_INVALID if the specified file or path does not exist, or if the specified path is a directory.
Opens a file inside the content file and initializes the CNTFileInfo structure. The CNTHandle structure must be initialized with the CNTInitHandle function first.
2007/11/20 Standardized the use of the term "content file".
2006/12/04 Added result code descriptions.
2006/08/15 Initial version.
CONFIDENTIAL