Ignore:
Timestamp:
Oct 20, 2001, 11:49:01 AM (24 years ago)
Author:
achimha
Message:

fail gracefully if no ASPI there

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wnaspi32/initwnaspi32.cpp

    r7063 r7143  
    1 /* $Id: initwnaspi32.cpp,v 1.1 2001-10-15 17:06:18 sandervl Exp $
     1/* $Id: initwnaspi32.cpp,v 1.2 2001-10-20 09:49:01 achimha Exp $
    22 *
    33 * DLL entry point
     
    5353       aspi = new scsiObj();
    5454       if(aspi == NULL) {
    55            dprintf(("WNASPI32: LibMain; can't allocate aspi object!"));
    56            return FALSE;
     55           dprintf(("WNASPI32: LibMain; can't allocate aspi object! APIs will not work!"));
     56           // @@@AH 20011020 we shouldn't prevent DLL loading in this case
     57           // just make sure that all API calls fail
     58           return TRUE;
    5759       }
    5860       if(aspi->init(65535) == FALSE)
Note: See TracChangeset for help on using the changeset viewer.