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

© Copyright 2016-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm