This function filters text from an input file to an output file.
If the output file path refers to an existing directory, an extended error code is set in pContext
and returns KVERR_General
. If KVERR_ General
is returned, you can retrieve the extended error code by using fpGetKvErrorCodeEx().
KVErrorCode pascal fpFilterFile( void *pContext, char *szInputFile, char *szOutputFile, KVSummaryInfoEx *pSummaryInfo );
pContext
|
A pointer returned from fpInit() or fpInitWithLicenseData(). |
szInputFile
|
A pointer to the input file. |
szOutputFile
|
A pointer to the output file. |
pSummaryInfo
|
This argument is reserved. It must be NULL . |
The return value is an error code. See KVErrorCode.
This function runs in process or out of process. See The Filter Process Model.
error = (int)(*pFilterInterface->fpFilterFile)( pFilter, srcFile, outFile, NULL );
|