Removes all items from the Data Set.
#include "Ltdic.h"
L_LTDIC_API L_VOID L_DicomResetDS(hDS)
A DICOM handle.
None.
To allocate the memory for a Data Set, call L_DicomCreateDS.
To create a Data Set that includes elements for a specific class, use L_DicomInitDS.
After calling L_DicomResetDS, the handle to the data set is still valid. The data set can then be repopulated by calling L_DicomInitDS, L_DicomLoadDS, or L_DicomLoadDSMemory.
Win32, x64, Linux.
This example removes all elements from the Data Set
L_INT DicomResetDSExample(L_VOID)
{
HDICOMDS hDS;
hDS = L_DicomCreateDS(NULL);
L_DicomInitDS(hDS, CLASS_CT_IMAGE_STORAGE, 0);
L_DicomResetDS(hDS);
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