L_DicomFreeValue

Summary

Frees the memory for a value.

Syntax

#include "Ltdic.h"

L_LTDIC_API L_VOID L_DicomFreeValue(hDS, pElement)

Parameters

HDICOMDS hDS

A DICOM handle.

pDICOMELEMENT pElement

Pointer to a DICOMELEMENT structure within the Data Set.

Returns

None.

Comments

Calling this function following a call to one of the L_DicomGetxxxValue functions or the L_DicomGetCountValue function will free the memory allocated for the retrieved value. This memory will be freed anyway when the Data Set is freed. Using this function allows you to minimize the memory use in your application.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomGetCharValue.

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.