L_DicomExistsIOD

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomExistsIOD(pIOD)

pDICOMIOD pIOD;

pointer to a DICOMIOD structure

Determines whether the pointer to the structure is valid.

Parameter

Description

pIOD

Pointer to a DICOMIOD structure.

Returns

TRUE

pIOD is a valid pointer.

FALSE

pIOD is NULL.

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

Platforms

Win32, x64, Linux.

See Also

Functions:

L_DicomGetFirstIOD, L_DicomGetLastIOD, L_DicomGetPrevIOD, L_DicomGetNextIOD, L_DicomFindIOD, L_DicomFindClassIOD

Topics:

Working with Information Object Definitions

 

How to Disable the Automatic Loading of the default DICOM IOD Table

Example

This example checks an IOD pointer

L_INT DicomExistsIODExample(L_VOID) 
{ 
   pDICOMIOD pIOD; 
   pIOD = L_DicomFindClassIOD(CLASS_CT_IMAGE_STORAGE); 
   if (L_DicomExistsIOD(pIOD) == FALSE) 
      MessageBox(NULL, TEXT("The IOD does not exist"), TEXT("Notice"), MB_OK); 
   return DICOM_SUCCESS; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C API Help