L_DicomFindModuleIOD

#include "Ltdic.h"

L_LTDIC_API pDICOMIOD L_DicomFindModuleIOD(nClass, nModule)

Returns a pointer to the item in the IOD Structure that contains the IOD for the specified module in the specified class.

Parameters

L_UINT32 nClass

Class constant that specifies the class in which to look for the module. For a list of default values, refer to IOD Class Constants.

L_UINT32 nModule

Module constant that specifies the module to look for within the class specified in nClass. For a list of default module constants, refer to IOD Module Constants.

Returns

Value Meaning
!NULL A pointer to the item in the IOD Structure that contains the IOD for the specified module in the specified class.
NULL An IOD for the specified module in the specified class was not found.

Comments

To find the IOD of a module at a specific index within a class use L_DicomFindIndexModuleIOD. To find the IOD for a specific class use L_DicomFindClassIOD.

L_DicomFindIOD lets you find IODs for classes, modules or elements in the IOD Structure.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

This example displays the name of a module

L_INT DicomFindModuleIODExample(L_VOID) 
{ 
   pDICOMIOD pIOD; 
 
   pIOD = L_DicomFindModuleIOD(CLASS_US_IMAGE_STORAGE, MODULE_PATIENT_STUDY); 
   if (pIOD != NULL) 
      MessageBox(NULL, pIOD->pszName, TEXT("Notice"), MB_OK); 
   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