KeyView 24.4
KeyView Filter SDK C Programming Guide

# fpCloseStream()

This function closes a document stream opened by using `fpOpenStream()`.

DEPRECATED: The `fpCloseStream()` function is deprecated in KeyView 23.2.0 and later.

OpenText recommends that instead of calling fpOpenStream() or fpOpenStreamEx2(), you create a `KVDocument` to represent each document, by calling fpOpenDocumentFromStream(). When you no longer need a `KVDocument`, call fpCloseDocument().

This function is still available for existing implementations, but it might be incompatible with new functionality and might be removed in future.

## Syntax

    BOOL pascal fpCloseStream( KVFilterSession session, void *pStreamContext );

## Arguments

`session` | A KeyView Filter session that you initialized by calling fpInit().
`pStreamContext` | A pointer returned from fpOpenStream() or fpOpenStreamEx2().

## 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 `fpOpenStream()` or `fpOpenStreamEx2()`.

Copyright 1997-2024 Open Text
Version 24.4 | Last updated September 2024

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

Topic Title: fpCloseStream()