L_DicomIsVolatileElement
#include "Ltdic.h"
L_BOOL EXT_FUNCTION L_DicomIsVolatileElement(hDS, pElement)
| HDICOMDS hDS; | /* a DICOM handle */ | 
| pDICOMELEMENT pElement; | /* pointer to a DICOMELEMENT structure */ | 
Determines whether the specified element is volatile.
| Parameter | Description | 
| hDS | A DICOM handle. | 
| pElement | Pointer to a DICOMELEMENT structure that contains the item to be deleted. | 
Returns
| TRUE | The element is volatile. | 
| FALSE | The element is not volatile. | 
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
| Topics: | 
Example
/* This example checks if an element is volatile */
L_VOID Test()
{
   HDICOMDS      hDS;
   pDICOMELEMENT pElement;
   hDS = L_DicomCreateDS(NULL);
   L_DicomInitDS(hDS, CLASS_XA_BIPLANE_IMAGE_STORAGE_RETIRED, DS_LITTLE_ENDIAN | DS_EXPLICIT_VR);
   pElement = L_DicomGetFirstElement(hDS, pElement, FALSE, TRUE);
   if (L_DicomIsVolatileElement(hDS, pElement))
   {
      MessageBox(NULL, "Volatile", "Notice", MB_OK);
   }
   L_DicomFreeDS(hDS);
}