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() . |
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
error = (int)(*pFilterInterface->fpFilterStream)( pFilter, pStream, &filterOut, NULL );
|