Xceed Zip Compression Library Documentation
XziGetNextItem function
Direct DLL API > DLL API function reference > XziGetNextItem function

Description

Calling this function will provide you with the next item in an XceedZipItems collection. The item is provided to you in the form of an xcdListingFileParams structure. This structure contains the same information as an XceedZipItem object provides to applications not using the DLL API.

To use the method, you must provide a handle to an XceedZipItems collection. The handle is obtained by calling the XzGetZipContents method. That method's second parameter (phItems) receives a handle to an XceedZipItems collection.

The first item in the collection must always be obtained by calling the XziGetFirstItem function.

Declaration  
BOOL XziGetNextItem( HXCEEDZIPITEMS hItems, xcdListingFileParams* pxItem );

Parameters

Parameter Description
hItems  Handle of the XceedZipItems collection in which to get the next item.
pxItem  Pointer to an xcdListingFileParams structure to fill with the information of the next file.

Return value

Returns True if successful (there was another item in the collection to get).