ntdll : Implement CDROM_Verify to work on Mac OS X.

This commit is contained in:
Loïc Maury 2011-01-25 13:25:27 +01:00 committed by Alexandre Julliard
parent aee674c9b8
commit 1b767a5948
1 changed files with 4 additions and 0 deletions

View File

@ -1121,6 +1121,10 @@ static NTSTATUS CDROM_Verify(int dev, int fd)
return STATUS_SUCCESS; return STATUS_SUCCESS;
else else
return STATUS_NO_MEDIA_IN_DEVICE; return STATUS_NO_MEDIA_IN_DEVICE;
#elif defined(__APPLE__)
/* At this point, we know that we have media, because in Mac OS X, the
* device file is only created when media is present. */
return STATUS_SUCCESS;
#else #else
FIXME("not supported on this O/S\n"); FIXME("not supported on this O/S\n");
return STATUS_NOT_SUPPORTED; return STATUS_NOT_SUPPORTED;