L_DicomDeleteUID

Summary

Deletes the specified item from the UID Table.

Syntax

#include "Ltdic.h"

L_LTDIC_API pDICOMUID L_DicomDeleteUID(pUID)

Parameters

pDICOMUID pUID

Pointer to a DICOMUID structure that contains the item to be deleted.

Returns

Value Meaning
!NULL A pointer to an adjacent item. If there is an item following the item being deleted, the returned pointer will point to this item. If the item being deleted does not have an item following it, but has an item preceding it, the pointer points to the item immediately preceding the deleted item.
NULL The table is empty.

Comments

You can remove all items from the table using L_DicomResetUID.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

This example removes an item from the UID table

L_INT DicomDeleteUIDExample(L_VOID) 
{ 
   pDICOMUID pUID; 
 
   pUID = L_DicomFindUID(TEXT("1.2.840.10008.1.1")); 
   if (pUID != NULL) 
      L_DicomDeleteUID(pUID); 
 
   return DICOM_SUCCESS; 
} 

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.