L_CopyMarkers (original) (raw)

Summary

Copies the specified collection of metadata markers to a new handle.

Syntax

#include "l_bitmap.h"

L_LTFIL_API L_INT L_CopyMarkers(phMarkersDst, hMarkersSrc)

Parameters

L_VOID ** phMarkersDst

Pointer to a variable to be updated with a handle to a copy of the specified markers.

L_HANDLE hMarkersSrc

Handle to the collection of metadata markers to copy.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

The new handle will be copied to *phMarkersDst.

If hMarkersSrc is NULL or if the function fails, phMarkersDst will be NULL.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

L_INT CopyMarkersExample(HANDLE hMarkersSrc, HANDLE* phMarkersCopy) { L_INT nRet; // Copy markers collection into the desitation handle nRet = L_CopyMarkers(phMarkersCopy, hMarkersSrc); if(nRet != SUCCESS) return nRet; return SUCCESS; }

LEADTOOLS Raster Imaging C API Help