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_DicomSetNameUID

Show in webframe

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomSetNameUID(pUID, pszName)

pDICOMUID pUID;

/* pointer to a DICOMUID structure */

L_TCHAR * pszName;

/* character string */

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

Parameter

Description

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.

pszName

Character string that contains the name to be set.

Returns

TRUE

The name was successfully set.

FALSE

Not enough memory.

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_DicomGetFirstUID, L_DicomGetLastUID, L_DicomGetPrevUID, L_DicomGetNextUID, L_DicomFindUID, L_DicomFindIndexUID

Topics:

Working with Unique Identifiers

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