This function filters text from an input stream to an output buffer.
KVErrorCode pascal fpFilterStream( void *pContext, void *pStreamContext KVFilterOutput *pFilterOutput, KVSummaryInfoEx *pSummaryInfo);
pContext
|
A pointer returned from fpInit() or fpInitWithLicenseData(). |
pStreamContext
|
A pointer returned from fpOpenStream() or fpOpenStreamEx2(). |
pFilterOutput
|
A pointer to the KVFilterOutput structure. This structure defines the output buffer. |
pSummaryInfo
|
This argument is reserved. It must be NULL . |
The return value is an error code. See KVErrorCode.
This function processes data in chunks. To return the entire output stream, you must call this function repeatedly until the entire output buffer is processed, that is, until the following condition occurs:
pFilterOutput-> cbText == 0
fpFilterStream
, once the data in the pFilterOutput
argument is no longer required, call fpFreeFilterOutput to free the memory allocated by this function.error = (int)(*pFilterInterface->fpFilterStream)( pFilter, pStream, &filterOut, NULL );_FT_HTML5_bannerTitle.htm