fpGetExtractInfo()

This function returns information about a stream opened by fpOpenSubFile().

Syntax

int (pascal *fpGetExtractInfo) (
       KVInputStream *stream,
       KVSubFileExtractInfo *extractInfo);

Arguments

stream The pointer to the KVInputStream structure returned by fpOpenSubFile().
extractInfo On success, this KVSubFileExtractInfo points to a newly allocated structure, which provides information about the extracted subfile.

Returns

If an issue occurs when obtaining the extraction information, the return value is an error code. Otherwise, the return value is KVERR_Success.

Lifetime and Memory Management

You must call fpFreeStruct() to free the memory allocated for extractInfo. You must free this memory before you call fpCloseSubFile().