L_DicomIsVolatileElement

Summary

Determines whether the specified element is volatile.

Syntax

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomIsVolatileElement(hDS, pElement)

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 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.