File Content Extraction 26.2
HTML Export SDK C Programming Guide

# fpCloseSubFile()

DEPRECATED: The `fpCloseSubFile()` function is deprecated in File Content Extraction version 26.2 and later. This function relates to the deprecated `fpOpenSubFile()` function. OpenText recommends that you use fpOpenFile() instead.

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

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-2026 Open Text
Version 26.2 | Last updated April 2026

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 26.2

Topic Title: fpCloseSubFile()