Simple way to get the label of mixed-mode cd.
This commit is contained in:
parent
6dc4cb4b7a
commit
75d7b15236
|
@ -820,8 +820,13 @@ static DWORD CDROM_GetLabel(int drive, WCHAR *label)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case CDROM_DISK_DATA_TRACK|CDROM_DISK_AUDIO_TRACK:
|
case CDROM_DISK_DATA_TRACK|CDROM_DISK_AUDIO_TRACK:
|
||||||
FIXME("Need to get the label of a mixed mode CD: not implemented yet !\n");
|
FIXME("Need to get the label of a mixed mode CD!\n");
|
||||||
/* fall through */
|
/* This assumes that the first track is a data track! */
|
||||||
|
/* I guess the correct way would be to enumerate all data tracks
|
||||||
|
and check each for the title */
|
||||||
|
if (!CDROM_Data_GetLabel(drive, label))
|
||||||
|
ret = 0;
|
||||||
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
ret = 0;
|
ret = 0;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue