L_DicomGetPrevTag

#include "Ltdic.h"

L_LTDIC_API pDICOMTAG L_DicomGetPrevTag(pTag)

Returns a pointer to the item in the Data Element Tag Table that immediately precedes the specified item.

Parameters

pDICOMTAG pTag

Pointer to a DICOMTAG structure that contains an item in the Data Element Tag Table. A pointer to the item in the table that immediately precedes this item will be returned.

Returns

Value Meaning
!NULL A pointer to a DICOMTAG structure that contains the item in the Data Element Tag Table that immediately precedes the item specified in pTag.
NULL There is not an item preceding pTag. (pTag is the first item in the table.)

Comments

The following functions will also help you navigate the Data Element Tag Table:

To determine the number of entries in the Data Element Tag Table, use L_DicomGetCountTag.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

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