Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C DLL Help

L_DicomResetDS

Show in webframe

#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;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.