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.