# fpCanFilterFile()

This function determines whether a file's format is supported by KeyView. The supported formats are listed in Document Readers.

If `KVERR_ General` is returned, you can retrieve the extended error code by using fpGetKvErrorCodeEx().

## Syntax

    KVErrorCode pascal fpCanFilterFile(
        void    *pContext,
        char    *szFile );

## Arguments

`pContext` | A pointer returned from fpInit() or fpInitWithLicenseData().
`szFile` | The name of the input file to be filtered.

## Returns

- If the file format is supported, the return value is `KVERR_Success`.
- If the file format is not supported, the return value is an error code. See KVErrorCode.

_FT_HTML5_bannerTitle.htm