L_DicomFreeValue

#include "Ltdic.h"

L_LTDIC_API L_VOID L_DicomFreeValue(hDS, pElement)

HDICOMDS hDS;

/* a DICOM handle */

pDICOMELEMENT pElement;

/* pointer to a DICOMELEMENT structure */

Frees the memory for a value.

Parameter

Description

hDS

A DICOM handle.

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

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

L_DicomGetBinaryValue, L_DicomGetCharValue, L_DicomGetShortValue, L_DicomGetLongValue, L_DicomGetFloatValue, L_DicomGetDoubleValue, L_DicomGetAgeValue, L_DicomGetStringValue, L_DicomGetDateValue, L_DicomGetTimeValue, L_DicomGetDateTimeValue, L_DicomGetCountValue

Topics:

Working with Data Sets

Example

For an example, refer to L_DicomGetCharValue.