Ignore:
Timestamp:
Jan 12, 2003, 5:19:37 PM (23 years ago)
Author:
sandervl
Message:

Ported & extended QueryDosDeviceA/W; implemented IOCTL_SCSI_GET_CAPABILITIES; don't fail CDIO init if media not present

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/oslibcdio.cpp

    r8929 r9663  
    9595    if(OSLibCdIoInitialize() == FALSE) {
    9696        return FALSE;
     97    }
     98
     99    if(hDisk == 0) {//no media present; return success here as the DosDevIOCtl will fail
     100        return TRUE;
    97101    }
    98102
Note: See TracChangeset for help on using the changeset viewer.