# fpGetOLESummaryInfoFile()

This function extracts document metadata from a file.

## Syntax

    KVErrorCode pascal fpGetOLESummaryInfoFile(
        void               *pContext,
        char               *szFile,
        KVSummaryInfoEx    *pSummaryInfo);

## Arguments

`pContext` | A pointer returned from fpInit() or fpInitWithLicenseData().
`szFile` | The name of the input file.
`pSummaryInfo` | A pointer to the KVSummaryInfoEx structure. 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 KVSumInfoElemEx structure.

## 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