fpGetXmpInfo()
This function extracts XMP metadata in stream mode.
DEPRECATED: The fpGetXmpInfo()
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
KVErrorCode pascal fpGetXmpInfo( KVFilterSession session, KVInputStream *pInput, KVXmpInfo *pXmpInfo, DWORD dwXmpOptions );
Arguments
session
|
A Filter session that you initialized by calling fpInit(). |
pInput
|
A pointer to the input stream. |
pXmpInfo
|
A pointer to the KVXmpInfo structure. |
dwXmpOptions
|
Set this argument to Set this argument to |
Returns
- If the call is successful, the return value is
KVError_Success
. - If the call is not successful, the return value is an error code that indicates the problem.
Discussion
-
After the
pXmpInfo
argument is successfully filled, and its data is no longer required, call fpFreeXmpInfo() to free the memory allocated by this function.