L_DicomResetDS

#include "Ltdic.h"

L_LTDIC_API L_VOID L_DicomResetDS(hDS)

Removes all items from the Data Set.

Parameters

HDICOMDS hDS

A DICOM handle.

Returns

None.

Comments

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.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

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 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