This function extracts document metadata from a file.
KVErrorCode pascal fpGetOLESummaryInfoFile( void *pContext, char *szFile, KVSummaryInfoEx *pSummaryInfo);
pContext
|
A pointer returned from fpInit() . |
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. |
The return value is an error code. See KVErrorCode.
pSummaryInfo
argument is successfully filled, and its data is no longer required, call fpFreeOLESummaryInfo() to free the memory allocated by this function.
|