UnloadPIMap

Unloads instrument templates loaded previously with PIMapfile.

Synopsis

Err UnloadPIMap( ScoreContext *scon )

Description

This function is the inverse of LoadPIMap; it unloads any instrument templates specified in the score context's PIMap. Any instruments created using those templates are freed when the templates are unloaded.

Arguments

scon
Pointer to a ScoreContext data structure.

Return Value

This function returns 0 if successful or an error code (a negative value) if an error occurs.

Implementation

Library call implemented in music.lib V20.

Associated Files

score.h, music.lib

See Also

LoadPIMap(), SetPIMapEntry()