# fpFilterFile()

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().

## Syntax

    KVErrorCode pascal fpFilterFile(
        void             *pContext,
        char             *szInputFile,
        char             *szOutputFile,
        KVSummaryInfoEx  *pSummaryInfo );

## Arguments

`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`.

## Returns

The return value is an error code. See KVErrorCode.

## Discussion

This function runs in process or out of process. See The Filter Process Model.

## Example

    error = (int)(*pFilterInterface->fpFilterFile)( pFilter, srcFile, outFile, NULL );

© Copyright 2016-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm