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_DicomSetNameIOD

Show in webframe

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomSetNameIOD(pIOD, pszName)

pDICOMIOD pIOD;

/* pointer to a DICOMIOD structure */

L_TCHAR * pszName;

/* character string */

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

Parameter

Description

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.

pszName

Character string that contains the name to be set.

Returns

TRUE

The name was successfully set.

FALSE

Not enough memory.

Comments

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

L_DicomGetFirstIOD

L_DicomGetLastIOD

L_DicomGetNextIOD

L_DicomGetParentIOD

L_DicomGetChildIOD

L_DicomGetRootIOD

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_DicomGetFirstIOD, L_DicomGetLastIOD, L_DicomGetNextIOD, L_DicomGetPrevIOD, L_DicomGetCountModuleIOD, L_DicomGetParentIOD, L_DicomGetChildIOD, L_DicomGetRootIOD

Topics:

Working with Information Object Definitions

 

How to Disable the Automatic Loading of the default DICOM IOD Table

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