L_DicomFreeValue
#include "Ltdic.h"
L_VOID EXT_FUNCTION 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
Example
For an example, refer to L_DicomGetCharValue.