#include "Ltdic.h"
L_LTDIC_API L_BOOL L_DicomIsVolatileElement(hDS, pElement)
Determines whether the specified element is volatile.
A DICOM handle.
Pointer to a DICOMELEMENT structure that contains the item to be deleted.
Value | Meaning |
---|---|
TRUE | The element is volatile. |
FALSE | The element is not volatile. |
The following are considered volatile elements:
Required DLLs and Libraries
Win32, x64, Linux.
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 Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document