fpFreeStruct()

This function frees the memory allocated by fpGetMainFileInfo(), fpGetSubFileInfo(), fpGetSubFileMetadata(), and fpExtractSubFile().

Syntax

int (pascal *fpFreeStruct) (
    void      *pFile, 
    void      *obj); 

Arguments

pFile The identifier of the file. This is a file handle returned from fpOpenFile().
obj A pointer to the result object returned by fpGetMainFileInfo(), fpGetSubFileInfo(), fpGetSubFileMetaData, or fpExtractSubFile().

Returns

Example

The example below frees the memory allocated by fpGetSubFileInfo():

if ( subFileInfo )
    {
        extractInterface->fpFreeStruct(pFile,subFileInfo);
        subFileInfo = NULL;
    }

_HP_HTML5_bannerTitle.htm