Ignore:
Timestamp:
Jul 28, 2002, 4:39:20 PM (23 years ago)
Author:
sandervl
Message:

Added function to disable os2cdrom.dmd aspi support

File:
1 edited

Legend:

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

    r8600 r8929  
    3333                               PVOID pData, DWORD dwDataMaxLen, DWORD *pdwDataLen);
    3434
     35static BOOL fDisableCDIo = FALSE;
     36
     37//----------------------------------------------------------------------//
     38//      Open drive                                                      //
     39//----------------------------------------------------------------------//
     40void WIN32API DisableCDIo()
     41{
     42    fDisableCDIo = TRUE;
     43}
    3544
    3645//----------------------------------------------------------------------//
     
    4352    int   fResult = 0;
    4453    HFILE hDev;
     54
     55    if(fDisableCDIo) {
     56        return FALSE;
     57    }
    4558
    4659    if( DosOpen("CD-ROM2$", &hDev, &ulAction, 0, FILE_NORMAL,
Note: See TracChangeset for help on using the changeset viewer.