fpFreeXmpInfo()

This function frees the memory allocated by fpGetXmpInfoFile() or fpGetXmpInfoStream() for metadata extraction.

DEPRECATED: The fpFreeXmpInfo() 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

BOOL pascal fpFreeXmpInfo( 
    KVFilterSession     session,
    KVXmpInfo          *pXmpInfo );

Arguments

session

A KeyView Filter session that you initialized by calling fpInit().

pXmpInfo A pointer to the structure KVXmpInfo.

Returns

  • If the call is successful, the return value is TRUE.
  • If the call is unsuccessful, the return value is FALSE.

Discussion

Call this function after fpGetXmpInfoFile() or fpGetXmpInfoStream() has successfully filled pXmpInfo, and the data is no longer required.