next up previous contents index
Next: CDDAGetTrackDuration Up: CDDA functions Previous: CDDAGetNumberOfTracks   Contents   Index

CDDAGetStatus

Gets the current status of the CDDA playback.

DWORD CDDAGetStatus (DWORD *pdwMode, BYTE *pbTrack, DWORD *pdwSeconds);

Arguments
pdwMode is a pointer to a DWORD that will receive the current repeat mode. The valid values are CDDA_MODE_REPEAT_NONE, CDDA_MODE_REPEAT_TRACK, and CDDA_MODE_REPEAT_DISC, and are defined in FMP.H.

pbTrack is a pointer to a BYTE that will receive the current track.

pdwSeconds is a pointer to a DWORD that will receive the current position relative to the start of the current track. The units are SECONDS.

Return value
FMPE_OK successful
FMPE_DRIVER_NOT_OPEN error - driver not opened

Figure 1.3: CDDAGetStatus Operating Systems and Streaming Models
\begin{figure}\centering\begin{tabular}{\vert l\vert c\vert c\vert c\vert c\vert...
...s CE & & & & & \\
Linux & & & & & $\bullet$\\
\hline
\end{tabular}\end{figure}



mabelsha 2002-03-26