Determines whether the pointer to the structure is valid.
#include "Ltdic.h"
L_LTDIC_API L_BOOL L_DicomExistsTag(pTag)
Pointer to a DICOMTAG structure.
Value | Meaning |
---|---|
TRUE | pTag is a valid pointer. |
FALSE | pTag is NULL. |
Win32, x64, Linux.
This example checks a Tag pointer
L_INT DicomExistsTagExample(L_VOID)
{
pDICOMTAG pTag;
pTag = L_DicomFindTag(TAG_PIXEL_DATA);
if (L_DicomExistsTag(pTag) == FALSE)
MessageBox(NULL, TEXT("The Tag 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