L_DicomGetPrevTag

#include "Ltdic.h"

L_LTDIC_API pDICOMTAG L_DicomGetPrevTag(pTag)

pDICOMTAG pTag;

/* pointer to a DICOMTAG structure */

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

Parameter

Description

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

!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:

L_DicomGetFirstTag

L_DicomGetLastTag

L_DicomGetNextTag

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

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

See Also

Functions:

L_DicomGetFirstTag, L_DicomGetLastTag, L_DicomGetNextTag, L_DicomGetCountTag

Topics:

Working with Tags

Example

For an example, refer to L_DicomGetLastTag.