L_DicomResetDS

#include "Ltdic.h"

L_LTDIC_API L_VOID L_DicomResetDS(hDS)

HDICOMDS hDS;

a DICOM handle

Removes all items from the Data Set.

Parameter

Description

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

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64, Linux.

See Also

Functions:

L_DicomDeleteElement, L_DicomDeleteModule, L_DicomInitDS, L_DicomLoadDS, L_DicomLoadDSMemory

Topics:

Working with Data Sets

 

How to Disable the Automatic Loading of the default DICOM IOD Table

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C API Help