To use the Filtering stream-based I/O
kvfilter
library and obtain the KV_GetFilterInterfaceEx() entry point. The filter
sample program contains sample code for all platforms. pContext
, is passed as the first argument to 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()
. See KVGetExtractInterface().KVInputStream
) by calling fpFiletoInputStreamCreate() or by using code similar to the example code in the Filter
sample program. KVOpenFileArg
structure. This call defines the parameters necessary to open a file for extraction. fpGetMainFileInfo()
determined that the source file is a container file, proceed to step 10; otherwise, proceed to step 13. fpGetSubFileInfo()
determined that the subfile is a container file, repeat step 4 through step 11 until all subfiles are extracted; otherwise, proceed to step 13.fpFilterStream()
repeatedly until the entire output buffer is processed.
|