# fpFileToInputStreamCreate()

This function creates an input stream from a file.

## Syntax

    BOOL pascal fpFileToInputStreamCreate(
        void            *pContext,
        char            *pszFileName,
        KVInputStream   *pInput)

## Arguments

`pContext` | A pointer returned from fpInit() or fpInitWithLicenseData().
`pszFileName` | A pointer to the name of the input file to be filtered.
`pInput` | A pointer to the developer-assigned instance of KVInputStream. The structure `KVInputStream` defines the input stream that contains the source.

## Returns

- If the call is successful, the return value is `TRUE`.
- If the call is unsuccessful, the return value is `FALSE`.

## Discussion

- After filtering is complete, call `fpFileToInputStreamFree()` to free the memory allocated by this function.
- You can access this function through the KV_GetFilterInterfaceEx() function, or call it directly.

- On Windows, `pszFileName` must be in the local Windows code page.

_FT_HTML5_bannerTitle.htm