6 Sep
2012
6 Sep
'12
12:05 p.m.
Alexandre Goujon <ale.goujon(a)gmail.com> writes:
@@ -2544,7 +2544,8 @@ static NTSTATUS DVD_ReadStructure(int dev, const DVD_READ_STRUCTURE *structure, }
if (ioctl(dev, DVD_READ_STRUCT, &s) < 0) - return STATUS_INVALID_PARAMETER; + /* Will be converted into ERROR_INVALID_FUNCTION */ + return (errno == ENOMEDIUM) ? STATUS_INVALID_DEVICE_REQUEST : STATUS_INVALID_PARAMETER;
That doesn't make much sense, you probably want to use FILE_GetNtStatus. -- Alexandre Julliard julliard(a)winehq.org