CCDAudio.Constructorconstructor
Creates an instance of the `CCDAudio` class.
Syntax
CONSTRUCTOR CCDAudio
Parameters
| Name | Description | |
|---|---|---|
[Constructor](#constructor) | Creates an instance of the CCDAudio class. | |
[Backward](#backward) | Moves to the previous track. | |
[Close](#close) | Closes the device or file and any associated resources. MCI unloads a device when all instances of the device or all files are closed. | |
[CloseDoor](#closedoor) | Closes the CDRom door. | |
[Forward](#forward) | Moves to the next track. | |
[GetAllTracksLength](#getalltrackslength) | Returns the total length in seconds of all the tracks. | |
[GetAllTracksLengthString](#getalltrackslengthstring) | Returns the total length of all the tracks. | |
[GetCurrentPos](#getcurrentpos) | Returns the current track position in seconds. | |
[GetCurrentPosString](#getcurrentposstring) | Returns the current track position. | |
[GetCurrentTrack](#getcurrenttrack) | Returns the current track number. | |
[GetErrorString](#geterrorstring) | Retrieves a string that describes the specified MCI error code. | |
[GetLastError](#getlasterror) | Retrieves a The last MCI error code. | |
[GetTrackLength](#gettracklength) | Returns the length in seconds of the given track. | |
[GetTrackLengthString](#gettracklengthstring) | Returns the length of the given track. | |
[GetTracksCount](#gettrackscount) | Returns the count of tracks. | |
[GetTrackStartTime](#gettrackstarttime) | Returns the start time of the given track. | |
[GetTrackStartTimeString](#gettrackstarttimestring) | Returns the start time of the given track. | |
[IsMediaInserted](#ismediainserted) | Checks whether CD media is inserted. | |
[IsPaused](#ispaused) | Checks whether is in paused mode. | |
[IsPlaying](#isplaying) | Checks whether is in play mode. | |
[IsReady](#isready) | Checks if the device is ready. | |
[IsSeeking](#isseeking) | Checks whether is in seeking mode. | |
[IsStopped](#ssstopped) | Checks whether is in stopped mode. | |
[Open](#open) | Initializes the device. | |
[OpenDoor](#opendoor) | Opens the CDRom door. | |
[Pause](#pause) | Pauses playing CD Audio. | |
[Play](#play) | Starts playing CD Audio. | |
[PlayFrom](#playfrom) | Starts playing CD Audio on the given track. | |
[PlayFromTo](#playfromto) | Starts playing CD Audio from a given track to a given track. | |
[Stop](#dtop) | Stops playing CD Audio. | |
[ToEnd](#toend) | Sets the position to the end of the audio CD. | |
[ToStart](#tostart) | Sets the position to the start of the audio CD. |
Example
DIM pAudio AS CCDAudio pAudio.Open pAudio.Play
Reference
- Defined in AfxNova/CCDAudio.inc:84
- Documented in Audio/CCDAudio Class.md
- Topic: CCDAudio Class