# SND_GetFirstInstDataPos

## C Specification

      #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.

By passing the obtained positional information to the `SND_GetNextInstData` function, the `SNDInstData` format instrument data can be obtained 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

01/20/2005 Initial version

CONFIDENTIAL