File Content Extraction 26.1
Filter SDK C Programming Guide

# fpGetOLESummaryInfo()

This function extracts document metadata from an input stream.

DEPRECATED: The `fpGetOLESummaryInfo()` function is deprecated in KeyView 23.2.0 and later. OpenText recommends that you create a `KVDocument` to represent each document, and access metadata by calling the function fpGetMetadataList().

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

## Syntax

    KVErrorCode pascal fpGetOLESummaryInfo(
        KVFilterSession     session,
        KVInputStream      *pInput,
        KVSummaryInfoEx    *pSummaryInfo );

## Arguments

`session` | A Filter session that you initialized by calling fpInit().
`pInput` | A pointer to the developer-assigned instance of KVInputStream. The structure `KVInputStream` defines the input stream that contains the source.
`pSummaryInfo` | A pointer to the structure KVSummaryInfoEx. In the structure, `nElem` provides a count of the number of metadata elements, and `pElem` points to the first element of the array of individual elements as defined by the structure KVSumInfoElemEx.

## Returns

- If the call is successful, the return value is `KVError_Success`.
- If the call is not successful, the return value is an error code that indicates the problem.

## Discussion

- When you no longer need `pSummaryInfo`, pass it to fpFreeOLESummaryInfo() to free the memory allocated by this function. Call fpFreeOLESummaryInfo() only when `fpGetOLESummaryInfo()` returns `KVError_Success`.

Copyright 1997-2025 Open Text
Version 26.1 | Last updated January 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.1

Topic Title: fpGetOLESummaryInfo()