Commit 1b767a59 authored by Loïc Maury's avatar Loïc Maury Committed by Alexandre Julliard

ntdll : Implement CDROM_Verify to work on Mac OS X.

parent aee674c9
...@@ -1121,6 +1121,10 @@ static NTSTATUS CDROM_Verify(int dev, int fd) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment