Open topic with navigation
To use the Filter file-based I/O
kvfilterlibrary and obtain the
KV_GetFilterInterfaceEx()entry point by calling KV_GetFilterInterfaceEx(). The
filtersample program contains sample code for all platforms.
pContext, is passed as the first argument to the File Extraction interface and all other Filter functions.
fpInit()and the address of a structure that contains pointers to the File Extraction API functions in the call to KVGetExtractInterface().
KVOpenFileArgstructure. This call defines the parameters necessary to open a file for extraction.
fpGetMainFileInfo()determined that the source file contains subfiles, proceed to step 8; otherwise, proceed to step 11.
fpGetSubFileInfo()determined that the subfile is a container file, repeat step 4 through step 9 until all subfiles are extracted; otherwise, proceed to step 11.