nw::lyt::ARCFastOpen Function

Syntax

bool ARCFastOpen(
     ARCHandle * handle,
     s32 entrynum,
     ARCFileInfo * af
);

Arguments

Name Description
in handle An ARCHandle structure.
in entrynum Entry number of the file.
out af The ARCFileInfo structure to be initialized

Return Values

Returns true on success and false on failure.

Description

Opens files in an archive as specified by entry number.

ARCFastOpen opens a file in the archive and initializes the specified ARCFileInfo structure.

The difference with ARCOpen is that an entry number is specified rather than a file name. The entrynum of a file must be obtained beforehand using a function like ARCConvertPathToEntrynum().

The ARCHandle structure of the archive file must be initialized beforehand using ARCInitHandle.

See Also

ARCOpen
ARCInitHandle
ARCConvertPathToEntrynum
ARCGetDirEntryEntrynum


CONFIDENTIAL