L_DicomExistsIOD

#include "Ltdic.h"

L_BOOL EXT_FUNCTION 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

See Also

Functions:

L_DicomGetFirstIOD, L_DicomGetLastIOD, L_DicomGetPrevIOD, L_DicomGetNextIOD, L_DicomFindIOD, L_DicomFindClassIOD

Topics:

Working with Information Object Definitions

Example

/* This example checks an IOD pointer */

L_VOID Test()
{
   pDICOMIOD pIOD;

   pIOD = L_DicomFindClassIOD(CLASS_CT_IMAGE_STORAGE);

   if (L_DicomExistsIOD(pIOD) == FALSE)
   {
      MessageBox(NULL, "The IOD does not exist", "Notice", MB_OK);
   }
}