Calling this function will provide you with the first 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.
To get the second and subsequent items, call the XziGetNextItem function.
Declaration | |
---|---|
BOOL XziGetFirstItem( HXCEEDZIPITEMS hItems, xcdListingFileParams* pxItem ); |
Parameter | Description |
---|---|
hItems | Handle of the XceedZipItems collection in which to get the first item |
pxItem | Pointer to an xcdListingFileParams structure to fill with the information of the first file |
Returns True if successful (there was at least one item in the collection).