29 Jul
2010
29 Jul
'10
3:48 p.m.
Andrew Nguyen <anguyen(a)codeweavers.com> writes:
@@ -1092,7 +1092,7 @@ static BOOL INT21_CreateFile( CONTEXT86 *context, winMode, winAttributes, 0 ); /* DOS allows to open files on a CDROM R/W */ if( winHandle == INVALID_HANDLE_VALUE && - GetLastError()== ERROR_WRITE_PROTECT) { + GetLastError() == ERROR_ACCESS_DENIED) {
You should keep the old error too. -- Alexandre Julliard julliard(a)winehq.org