IASPlayList::get_CurrentTrack

This method gets the number of the current track.

Syntax

HRESULT get_CurrentTrack( unsigned char *pbcTrack );

Parameters

pbcTrack
Pointer to the current track number.

Return Values

NOERROR indicates success. E_INVALIDARG indicates that an invalid argument has been entered.

Remarks

The index of tracks in the play list begins at 1. If the index of the current track is equal to 0, the play list does not indicate a current track.

See Also

IASPlayList::put_CurrentTrack