Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - getnextinzip() retrieves info for the next file in the zip file http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GetNextInZip()         Retrieves info for the next file in the ZIP file
--------------------------------------------------------------------------------

   Syntax:              GetNextInZip()  --> <aFileInfo>

   Parameters:          None

   Returns:

   <aFileInfo>          An array of 9 items containing the following
                        next file in ZIP information. GetFirstInZip() must
                        be called prior to use GetNextInZip():

                        aFileInfo[ 1 ]  // The returning code
                                        // #define ZIP_OK             0
                                        // #define ZIP_FILEERROR     -1
                                        // #define ZIP_INTERNALERROR -2
                                        // #define ZIP_NOMOREITEMS    1

                        aFileInfo[ 2 ]  // the filename
                        aFileInfo[ 3 ]  // Date
                        aFileInfo[ 4 ]  // Time
                        aFileInfo[ 5 ]  // File size
                        aFileInfo[ 6 ]  // Compressed size
                        aFileInfo[ 7 ]  // offset insize the ZIP file
                        aFileInfo[ 8 ]  // Pack Method
                        aFileInfo[ 9 ]  // File attributes

   Sample:              SAMPLES\\TestZip.prg

   Source code:         SOURCE\\FUNCTION\\UnZip.c


See Also: IsZip() GetFirstInZip() CloseZipFile() UnZipFile()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson