L_DicomFindFirstPresStateRefSeriesItem

#include "l_bitmap.h"

L_LTDIC_API pDICOMELEMENT L_DicomFindFirstPresStateRefSeriesItem(hDS)

Retrieves the first item under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".

Parameters

HDICOMDS hDS

A DICOM handle.

Returns

Value Meaning
!NULL A pointer to a DICOMELEMENT structure that contains the first item under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".
NULL No items were found

Comments

This function returns the first item under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module". Use this function along with L_DicomFindNextPresStateRefSeriesItem in order to enumerate all the items under the "Referenced Series Sequence" (0008,1115) in the "Presentation State Module".

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

L_INT DicomFindFirstPresStateRefSeriesItemExample(HDICOMDS hPresStateDS) 
{ 
   pDICOMELEMENT pRefSeriesItem = L_DicomFindFirstPresStateRefSeriesItem (hPresStateDS); 
   while (pRefSeriesItem != NULL) 
   { 
      // Do something ! 
      pRefSeriesItem = L_DicomFindNextPresStateRefSeriesItem(hPresStateDS,pRefSeriesItem); 
   } 
 
   return DICOM_SUCCESS; 
} 
Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help