# fpGetOLESummaryInfo()

This function extracts document metadata from an input stream.

## Syntax

    KVErrorCode pascal fpGetOLESummaryInfo(
        void               *pContext,
        KVInputStream      *pInput,
        KVSummaryInfoEx    *pSummaryInfo );

## Arguments

`pContext` | A pointer returned from fpInit() or fpInitWithLicenseData().
`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

The return value is an error code. See KVErrorCode.

## Discussion

- After the `pSummaryInfo` argument is successfully filled, and its data is no longer required, call fpFreeOLESummaryInfo() to free the memory allocated by this function.
- This function runs in process or out of process. See The Filter Process Model.

_FT_HTML5_bannerTitle.htm