L_DicomSetNameUID

Summary

Sets the name of the specified item in the UID Table.

Syntax

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomSetNameUID(pUID, pszName)

Parameters

pDICOMUID pUID

Pointer to a structure that contains an item in the UID Table. The name of this item will be set using the string contained in pszName.

L_TCHAR * pszName

Character string that contains the name to be set.

Returns

Value Meaning
TRUE The name was successfully set.
FALSE Not enough memory.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

This example changes the name of an item in the UID table

L_INT DicomSetNameUIDExample(L_VOID) 
{ 
   pDICOMUID pUID; 
 
   pUID = L_DicomFindUID(TEXT("1.2.840.10008.1.1")); 
   if (pUID != NULL) 
   { 
      if (!L_DicomSetNameUID(pUID, TEXT("New name"))) 
         return DICOM_ERROR_MEMORY; 
   } 
   return DICOM_SUCCESS; 
} 

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.