Fonction GPMID_GetMeasureRepeatCount


Retrieves how many repeats are present in a measure in the tablature which is currently loaded.


GPMID_ENTRY unsigned char GPMID_GetMeasureRepeatCount(
	unsigned int aMeasureIdx


  1. aMeasureIdx

    The zero-based index of the measure for which to retrieve the number of repeats.

Return value

The number of repeats of the measure.


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_GetMeasureCount minus 1.