CNTConvertPathToEntrynum

Syntax

#include <revolution/arc.h>
s32 CNTConvertPathToEntrynum(CNTHandle* CntHandle, const char* filename);

Arguments

CntHandle Pointer to the CNTHandle structure.
filename Path name within the content file.

Return Values

Returns the entry number (0 or a positive number) if the conversion succeeded. Returns -1 if the specified path does not exist.

Description

Converts paths within a content file into entry numbers. The CNTHandle structure must be initialized in advance.

See Also

CNTFastOpen, CNTInitHandle

Revision History

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