Fonction GPMID_GetTrackStringCount
Retrieves how many strings are used in a track embedded in the tablature which is currently loaded.
Syntax
GPMID_ENTRY unsigned int GPMID_GetTrackStringCount( unsigned int aTrackIdx );
Parameters
-
aTrackIdx
The zero-based index of the track for which to retrieve the number of strings used.
Return value
The number of strings used in the track embedded in the tablature.
Remarks
Before using this function, GPMID must have been initialized with GPMID_Init and a tablature must have been successfully loaded with GPMID_Load.
This function can be called with an index ranging from 0 to the value returned by GPMID_GetTrackCount minus 1.
If the name of the corresponding track is not set, this function returns an empty string.