#include "Ltdic.h"
L_LTDIC_API L_UINT32 L_DicomGetCountModuleIOD(nClass)
Returns the number of modules in the specified class.
Value that specifies the class. For a list of default values refer to IOD Class Constants.
The number of modules in the specified class.
The following functions will also help you navigate the IOD Structure as either a tree or a list:
If you evaluate the IOD Structure as a tree, you can also use the following functions to navigate the tree:
Required DLLs and Libraries
Win32, x64, Linux.
This example displays in a list-box control all modules from a class
L_INT DicomGetCountModuleIODExample(HWND hDlg)
{
L_UINT32 i;
L_UINT32 nCount;
pDICOMIOD pIOD;
nCount = L_DicomGetCountModuleIOD(CLASS_MR_IMAGE_STORAGE);
for (i = 0; i < nCount; i++)
{
pIOD = L_DicomFindIndexModuleIOD(CLASS_MR_IMAGE_STORAGE, i);
if (pIOD != NULL)
SendMessage(hDlg, LB_ADDSTRING, (WPARAM)0, (LPARAM)(LPCTSTR)pIOD->pszName);
}
return DICOM_SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document