L_DicomIsVolatileElement

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomIsVolatileElement(hDS, pElement)

Determines whether the specified element is volatile.

Parameters

HDICOMDS hDS

A DICOM handle.

pDICOMELEMENT pElement

Pointer to a DICOMELEMENT structure that contains the item to be deleted.

Returns

Value Meaning
TRUE The element is volatile.
FALSE The element is not volatile.

Comments

The following are considered volatile elements:

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Topics

Example

This example checks if an element is volatile.

L_INT DicomIsVolatileElementExample(L_VOID) 
{ 
   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, NULL, FALSE, TRUE); 
   if (L_DicomIsVolatileElement(hDS, pElement)) 
      MessageBox(NULL, TEXT("Volatile"), TEXT("Notice"), MB_OK); 
 
   L_DicomFreeDS(hDS); 
   return DICOM_SUCCESS; 
} 

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

LEADTOOLS DICOM C API Help