fpGetSubFileInfo()

This function gets information about a subfile in a container file.

Syntax

int (pascal *fpGetSubFileInfo)  (
    void                    *pFile, 
    int                      index,
    KVSubFileInfo           *subFileInfo);

Arguments

pFile The identifier of the main file. This is a file handle returned from fpOpenFile().
index The index number of the subfile for which to retrieve information.
subFileInfo A pointer to the KVSubFileInfo structure, which defines information about the subfile.

Returns

Discussion

Example

KVSubFileInfo    subFileInfo = NULL;
for ( index = 0; index < fileInfo->numSubFiles; index++)
{
  error=extractInterface->fpGetSubFileInfo(pFile,index,&subFileInfo);
  if ( error )
  {
     extractInterface->fpFreeStruct(pFile,subFileInfo);
     subFileInfo = NULL;
  }

_HP_HTML5_bannerTitle.htm