#include <nitro/snd.h>BOOL SND_WriteInstData( SNDBankData* bank, int prgNo, int key, const SNDInstData* inst );
| bank | This is the bank data pointer. |
| prgNo | The program number. |
| key | The key number. |
| inst | The pointer to the structure where the updated instrument data are stored. |
Updates the instrument data in bank with the value specified by the SNDInstData structure.
The function fails if an invalid program number is specified for prgNo.
If prgNo specifies a drum set or a key split, then only the instrument data corresponding to the key number key get updated. If the the program number represents a normal instrument, then key is ignored.
07/20/2004 Initial version
CONFIDENTIAL