L_DicomGetPrevTag

Summary

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

Syntax

#include "Ltdic.h"

L_LTDIC_API pDICOMTAG L_DicomGetPrevTag(pTag)

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.

See Also

Functions

Topics

Example

For an example, refer to L_DicomGetLastTag.

Help Version 22.0.2022.6.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.