L_DicomFindIndexModule

#include "Ltdic.h"

pDICOMMODULE EXT_FUNCTION L_DicomFindIndexModule(hDS, nIndex)

HDICOMDS hDS;

/* a DICOM handle */

L_UINT32 nIndex;

/* index value */

Returns a pointer to a DICOMMODULE Structure that contains information about the module, on Level 0, at the specified index.

Parameter

Description

hDS

A DICOM handle.

nIndex

Index value that indicates the position of the module in Level 0 of the Data Set. This index is zero-based.

Returns

!NULL

A pointer to a DICOMMODULE Structure that contains information about the module at the specified index position on Level 0 of the Data Set.

NULL

A module at the specified index position on Level 0 of the Data Set was not found.

Comments

This function only finds modules at a specific index on Level 0 of the Data Set.

To find information about a module within the Data Set use L_DicomFindModule.

To find specific elements within the Data Set use the following:

L_DicomFindFirstElement

L_DicomFindLastElement

L_DicomFindPrevElement

L_DicomFindNextElement

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_DicomFindFirstElement, L_DicomFindLastElement, L_DicomFindNextElement, L_DicomFindPrevElement, L_DicomFindModule

Topics:

Working with Information Object Definitions

Example

For an example, refer to L_DicomGetCountModule.