nw::lyt::ARCConvertPathToEntrynum Function

Syntax

s32 ARCConvertPathToEntrynum(
     ARCHandle * handle,
     const wchar_t * pathPtr
);

Arguments

Name Description
in handle An ARCHandle structure.
in pathPtr The file name inside the archive.

Return Values

Returns -1 if the file name could not be found in the archive. Returns the entry number (0 or a positive number) if the conversion succeeded.

Description

Converts file paths in the archive into an entry number.

ARCConvertPathToEntrynum converts file paths in the archive into an entry number.

If a relative path is specified in pathPtr, it is taken as a relative path from the current directory of the ARCHandle structure.

The ARCHandle structure must be initialized beforehand using ARCInitHandle.

See Also

ARCFastOpen
ARCInitHandle
ARCChangeDir


CONFIDENTIAL