BASS_CD_GetInfo
Retrieves information on a drive.
BOOL BASS_CD_GetInfo(
DWORD drive,
BASS_CD_INFO *info
);
Parameters
drive | The drive to get info on... 0 = the first drive.
|
info | Pointer to a structure to receive the information.
|
Return value
If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_DEVICE | drive is invalid.
|
Example
Check if the first drive can read CD-TEXT.
BASS_CD_INFO info;
BASS_CD_GetInfo(0, &info);
if (info.cdtext) {
// it can read CD-TEXT!
}
See also
BASS_CD_GetSpeed, BASS_CD_INFO structure