L_DicomSetDescriptionIOD

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomSetDescriptionIOD(pIOD, pszDescription)

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

Parameters

pDICOMIOD pIOD

Pointer to a structure that contains an item in the IOD Structure. The description of this item will be set using the string contained in pszDescription.

L_TCHAR * pszDescription

Character string that contains the description to be set.

Returns

Value Meaning
TRUE The description 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 description

L_INT DicomSetDescriptionIODExample(L_VOID) 
{ 
   pDICOMIOD pIOD; 
 
   pIOD = L_DicomFindModuleIOD(CLASS_US_IMAGE_STORAGE, MODULE_PATIENT_STUDY); 
   if (pIOD != NULL) 
   { 
      if (!L_DicomSetDescriptionIOD(pIOD, TEXT("New Description"))) 
         return DICOM_ERROR_MEMORY; 
   } 
 
   return DICOM_SUCCESS; 
} 

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

LEADTOOLS DICOM C API Help