Available in LEADTOOLS Medical Imaging toolkits. |
LDicomDS::FreeValue
#include "Ltdic.h"
L_VOID LDicomDS::FreeValue(pElement)
pDICOMELEMENT pElement; |
/* pointer to a DICOMELEMENT structure */ |
Frees the memory for a value.
Parameter |
Description |
pElement |
Pointer to a DICOMELEMENT structure within the Data Set. |
Returns
None.
Comments
Calling this function following a call to one of the LDicomDS::GetxxxValue functions or the LDicomDS::GetCountValue 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 |
Win32, x64
See Also
Example
For an example, refer to LDicomDS::GetCharValue.