KeyView 24.1

# fpFileToInputStreamFree()

DEPRECATED: The `fpFileToInputStreamFree()` function is deprecated in KeyView version 23.2 and later. Use fpOpenDocumentFromStream() instead.

This function frees the memory allocated for the input stream created from a file.

## Syntax

    BOOL pascal fpFileToInputStreamFree(
        KVFilterSession   session,
        KVInputStream    *pInput)

## Arguments

`session` | A KeyView Filter session that you initialized by calling fpInit().
`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 this function to free the memory allocated by `fpFileToInputStreamCreate()`.
- You can access this function through the KV_GetFilterInterfaceEx() function, or call it directly.

Copyright 2016-2023 Open Text
Version 24.1 | Last updated December 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL KeyView 24.1

Topic Title: fpFileToInputStreamFree()