Fonction GPMID_GetTrackCapoHeight

Print

Retrieves the capo height of a track in the tablature which is currently loaded.

Syntax

GPMID_ENTRY unsigned int GPMID_GetTrackCapoHeight(
	unsigned int aTrackIdx
);

Parameters

  1. aTrackIdx

    The zero-based index of the track.

Return value

The capo height.

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.