# SND_GetFirstInstDataPos

## Syntax

      #include <nitro/snd.h>

      SNDInstPos SND_GetFirstInstDataPos( const SNDBankData* bank );

## Arguments

`bank` | This is the bank data pointer.

## Return Values

Returns the positional information for the instrument data scan.

## Description

Gets the positional information for the instrument data scan in the bank data.

You can pass the positional information obtained to the `SND_GetNextInstData` function to get `SNDInstData` instrument data in order.

        SNDInstPos pos = SND_GetFirstInstDataPos( bank );
        SNDInstData inst;

        while( SND_GetNextInstData( bank, &inst, &pos ) ) {
            // Process to perform for the instrument
        }

## See Also

`SND_GetNextInstData`, `SNDInstData`

## Revision History

2005/01/20 Initial version.

CONFIDENTIAL