Changeset 3845 for trunk/src


Ignore:
Timestamp:
Jul 18, 2000, 7:12:04 PM (25 years ago)
Author:
bird
Message:

Added $Id keyword.

Location:
trunk/src/wnaspi32
Files:
2 edited

Legend:

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

    r3564 r3845  
    1 //***************************************************************************
    2 //*                                                                         *
    3 //*  ASPI Router Library                                                    *
    4 //*  for Odin WNASPI32.DLL                                                  *
    5 //*                                                                        *
    6 //*  This is a sample library which shows how to send SRB's to the          *
    7 //*  ASPI Router device driver. USE AT YOUR OWN RISK!!                      *
    8 //*                                                                        *
    9 //*  Copyright (C) 1997 Daniel Dorau                                        *
    10 //*  Copyright (C) 2000 Przemyslaw Dobrowolski <dobrawka@asua.org.pl>       *
    11 //*                                                                        *
    12 //***************************************************************************
     1/* $Id: aspilib.cpp,v 1.3 2000-07-18 17:12:04 bird Exp $ */
     2/*
     3 *  ASPI Router Library
     4 *  for Odin WNASPI32.DLL
     5 *
     6 *  This is a sample library which shows how to send SRB's to the
     7 *  ASPI Router device driver. USE AT YOUR OWN RISK!!
     8 *
     9 *  Copyright (C) 1997 Daniel Dorau
     10 *  Copyright (C) 2000 Przemyslaw Dobrowolski <dobrawka@asua.org.pl>
     11 *
     12 */
    1313#define      INCL_DOSFILEMGR
    1414#define      INCL_DOSDEVICES
  • trunk/src/wnaspi32/winaspi32.cpp

    r3564 r3845  
     1/* $Id: winaspi32.cpp,v 1.5 2000-07-18 17:12:04 bird Exp $ */
    12/*
    23 * WNASPI routines
     
    267268  if( fGainDrvAccess( FALSE, &hmtxDriver) ) // Do nonblocking call for info
    268269  {
    269    
     270
    270271    if(aspi->init(65535)==TRUE)
    271272    {
    272        
     273
    273274        bNumDrv = aspi->getNumHosts();
    274275        brc = SS_COMP;
     
    368369            memcpy( lpSRB,
    369370                    &aspi->SRBlock,
    370                     sizeof(SRB_HaInquiry)-4 ); 
     371                    sizeof(SRB_HaInquiry)-4 );
    371372            // FIXME: I'dont know why in OS/2->ha_unique are filled with 0
    372373            // Hackmode ON ======
     
    380381            rc=aspi->getDeviceType(lpSRB->devtype.SRB_HaId,lpSRB->devtype.SRB_Target, lpSRB->devtype.SRB_Lun);
    381382            dwRC = lpSRB->devtype.SRB_Status = aspi->SRBlock.status;
    382             lpSRB->devtype.SRB_DeviceType = aspi->SRBlock.u.dev.devtype;           
     383            lpSRB->devtype.SRB_DeviceType = aspi->SRBlock.u.dev.devtype;
    383384            break;
    384385
Note: See TracChangeset for help on using the changeset viewer.