Determines whether the pointer to the structure is valid.
#include "Ltdic.h"
static L_BOOL LDicomIOD::Exists(pIOD)
Pointer to a DICOMIOD structure.
Value | Meaning |
---|---|
TRUE | pIOD is a valid pointer. |
FALSE | pIOD is NULL. |
Win32, x64
This example checks an IOD pointer.
L_INT LDicomIOD_ExistsExample()
{
pDICOMIOD pIOD;
pIOD = LDicomIOD::FindClass( CLASS_CT_IMAGE_STORAGE);
if (LDicomIOD::Exists(pIOD) == FALSE)
{
::MessageBox(NULL, TEXT("The IOD does not exist"), TEXT("Notice"), MB_OK);
}
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