#include <revolution/arc.h>
s32 CNTConvertPathToEntrynum(CNTHandle* CntHandle, const char* filename);
CntHandle |
Pointer to the CNTHandle structure. |
filename |
Path name within the content file. |
Returns the entry number (0 or a positive number) if the conversion succeeded. Returns -1 if the specified path does not exist.
Converts paths within a content file into entry numbers. The CNTHandle structure must be initialized in advance.
2008/01/11 Corrected a typo.
2007/11/20 Standardized the use of the term "content file".
2006/12/04 Revised the explanation of result codes.
2006/10/26 Initial version.
CONFIDENTIAL