File Content Extraction 25.3
Filter SDK C Programming Guide

# fpCloseSubFile()

Closes a stream opened by fpOpenSubFile().

## Syntax

    int (pascal *fpCloseSubFile) (
            KVInputStream *stream);

## Arguments

`stream` | The stream to close. This is a pointer returned by fpOpenSubFile().

## Returns

- If the subfile is closed, the return value is `KVERR_Success`
- If the subfile is not closed, the return value is an error code.

## Lifetime and Memory Management

- After you close the subfile, the stream is no longer valid and must not be accessed.

Copyright 1997-2025 Open Text
Version 25.3 | Last updated July 2025

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: File Content Extraction 25.3

Topic Title: fpCloseSubFile()