SZFILE_UnpackStream

Syntax

#include <cafe/szfile.h>

int SZFILE_UnpackStream(SZFILE_ARC *apArc, UINT32 aStreamIx);

Parameters

apArc Pointer to archive control structure for the 7-Zip file.
aStreamIx Index of the 7-Zip 'folder' stream to unpack.

Return Values

Returns zero for success or an error code to indicate failure.

Description

This function unpacks a specific stream in the archive (there may be more than one stream). A stream is never unpacked more than once.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

SZFILE helper library and demo
SZFILE_CreateArc
SZFILE_FindInArc
SZFILE_GetUnpackedFile
SZFILE_Get
SZFILE_PurgeArc
LzmaCompress
LzmaUncompress

Revision History

2013/05/06 Initial version.


CONFIDENTIAL