KeyView 24.3

# fpCloseDocument()

Closes a `KVDocument` that was opened with fpOpenDocumentFromFile() or fpOpenDocumentFromStream(). Call this function when you no longer need the `KVDocument`, to free the memory that was allocated.

You must call this function on all open documents created by a KeyView Filter session, before calling fpShutdown() on the session.

## Syntax

    BOOL (pascal* fpCloseKVDocument)(KVDocument pDocument);

## Arguments

`pDocument` | A `KVDocument` that you created with fpOpenDocumentFromFile() or fpOpenDocumentFromStream().

## Returns

This functions returns `TRUE` on success or `FALSE` on failure.

Copyright 1997-2024 Open Text
Version 24.3 | Last updated June 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.3

Topic Title: fpCloseDocument()