L_DicomFindClassIOD

#include "Ltdic.h"

L_LTDIC_API pDICOMIOD L_DicomFindClassIOD(nClass)

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

Parameters

L_UINT32 nClass

Class constant that specifies the class to find. For a list of default values, refer to IOD Class Constants.

Returns

Value Meaning
!NULL A pointer to a DICOMIOD structure that contains the IOD for the specified class.
NULL An IOD for the specified class was not found.

Comments

To find the IOD of modules within a class, use L_DicomFindModuleIOD or L_DicomFindIndexModuleIOD.

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 class

L_INT DicomFindClassIODExample(L_VOID) 
{ 
   pDICOMIOD pIOD; 
 
   pIOD = L_DicomFindClassIOD(CLASS_CR_IMAGE_STORAGE); 
   if (pIOD != NULL) 
      MessageBox(NULL, pIOD->pszName, TEXT("Notice"), MB_OK); 
 
   return DICOM_SUCCESS; 
} 

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

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.