L_DicomSetNameIOD

Summary

Sets the name of the specified item in the IOD Structure.

Syntax

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomSetNameIOD(pIOD, pszName)

Parameters

pDICOMIOD pIOD

Pointer to a structure that contains an item in the IOD Structure. 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.

Comments

The following functions will also help you navigate the IOD Structure:

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

This example changes the module’s name

L_INT DicomSetNameIODExample(L_VOID) 
{ 
   pDICOMIOD pIOD; 
 
   pIOD = L_DicomFindModuleIOD(CLASS_US_IMAGE_STORAGE, MODULE_PATIENT_STUDY); 
   if (pIOD != NULL) 
      if (!L_DicomSetNameIOD(pIOD, TEXT("New Name"))) 
         return DICOM_ERROR_MEMORY; 
 
   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.