L_DicomFindClassIOD
#include "Ltdic.h"
pDICOMIOD EXT_FUNCTION L_DicomFindClassIOD(nClass)
L_UINT32 nClass; |
/* class constant */ |
Returns a pointer to the item in the IOD Structure that contains the IOD for the specified class.
Parameter |
Description |
nClass |
Class constant that specifies the class to find. For a list of default values, refer to IOD Class Constants. |
Returns
!NULL |
A pointer to a DICOMIOD structure that contains the IOD for 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
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 |
See Also
Functions: |
L_DicomFindIOD, L_DicomFindModuleIOD, L_DicomFindIndexModuleIOD |
Topics: |
Example
/* This example displays the name of a class */
L_VOID Test()
{
pDICOMIOD pIOD;
pIOD = L_DicomFindClassIOD(CLASS_UT_IMAGE_STORAGE);
if (pIOD != NULL)
{
MessageBox(NULL, pIOD->pszName, "Notice", MB_OK);
}
}