21d5ca96
by Alex Henrie at 2026-04-17T12:17:31+02:00
kernelbase: Ignore GENERIC_WRITE in CreateFile on CDs on Windows 9x.
The hack has to be in kernel32.dll; having it in krnl386.exe is not
enough for all programs that need the old behavior. And in my testing,
the error was STATUS_ACCESS_DENIED whether using a physical CD or a
mounted ISO file, never STATUS_MEDIA_WRITE_PROTECTED.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59636