ntdll: Fix DVD_ReadStructure's layout of layer information
wine at troy.rollo.name
Fri Apr 7 19:05:01 CDT 2006
The DVD_LAYER_DESCRIPTOR structure is incorrectly documented by Microsoft, and
even the layout in the DDK headers is wrong. The following patch adjusts the
data returned according to what I have found by physically testing a variety
of DVDs on Windows XP and inspecting the binary data returned.
It is not possible to write a test for this because it would require a bunch
of DVDs to be inserted and removed from the drive.
Fix DVD_ReadStructure to reflect what Windows actually does,
not what Microsoft (incorrectly) documents it to do and not what
the DDK headers (incorrectly) suggest it does.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1865 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060408/258dfd61/dvd.diff
More information about the wine-patches