Synopsis

PDX_MSGT ugn_ExtractFromArchive(long option, const char *zipfilename, const char *dirname)

Purpose

Extract files from archive into folder

Description

The files contained in the specified archive zipfilename will be extracted to the specified folder dirname. The dirname must already exist.

NOTE: This function was adapted from miniunz.c found in the zlib contrib folder.

Input

option

Options (not used)

zipfilename

Name of archive to extract files from

dirname

Folder name to extract files to

Return

UGN_NOERR or error