Next: CDDAGetTrackDuration
Up: CDDA functions
Previous: CDDAGetNumberOfTracks
  Contents
  Index
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
 |
Realmagic Build
2001-12-07