LDicomIOD::SetDescription

Summary

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

Syntax

#include "Ltdic.h"

static L_BOOL LDicomIOD::SetDescription(pIOD, pszDescription)

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

See Also

Functions

Topics

Example

This example changes the module’s description .

L_INT LDicomIOD_SetDescriptionExample() 
{ 
   pDICOMIOD   pIOD; 
 
   pIOD = LDicomIOD::FindModule(CLASS_US_IMAGE_STORAGE, MODULE_PATIENT_STUDY); 
   if (pIOD != NULL) 
   { 
      LDicomIOD::SetDescription(pIOD, TEXT("New Description")); 
   } 
 
   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++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.