Commit 5fb1c162 authored by Tijl Coosemans's avatar Tijl Coosemans Committed by Alexandre Julliard

ntdll: Implement CDROM_Verify for FreeBSD.

parent 3429068f
......@@ -1036,6 +1036,13 @@ static NTSTATUS CDROM_Verify(int dev, int fd)
return STATUS_SUCCESS;
else
return STATUS_NO_MEDIA_IN_DEVICE;
#elif defined(__FreeBSD__)
int ret;
ret = ioctl(fd, CDIOCSTART, NULL);
if(ret == 0)
return STATUS_SUCCESS;
else
return STATUS_NO_MEDIA_IN_DEVICE;
#else
FIXME("not implemented for non-linux\n");
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