LDicomDS::FindIndexModule

#include "Ltdic.h"

pDICOMMODULE LDicomDS::FindIndexModule(nIndex)

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

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 LDicomDS::FindModule.

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

LDicomDS::FindFirstElement

LDicomDS::FindLastElement

LDicomDS::FindPrevElement

LDicomDS::FindNextElement

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:

LDicomDS::FindFirstElement, LDicomDS::FindLastElement, LDicomDS::FindNextElement, LDicomDS::FindPrevElement, LDicomDS::FindModule

Topics:

Working with Information Object Definitions

 

How to Disable the Automatic Loading of the default DICOM IOD Table

Example

For an example, refer to LDicomDS::GetCountModule.