Changeset 4391 for trunk/src


Ignore:
Timestamp:
Oct 2, 2000, 9:03:19 PM (25 years ago)
Author:
sandervl
Message:

fixes for FS macro changes

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shlwapi/pathcpp.cpp

    r4081 r4391  
    1 /* $Id: pathcpp.cpp,v 1.4 2000-08-24 09:32:42 sandervl Exp $ */
     1/* $Id: pathcpp.cpp,v 1.5 2000-10-02 19:01:23 sandervl Exp $ */
    22
    33/*
     
    4141
    4242#include <heapstring.h>
     43#include <misc.h>
    4344
    4445ODINDEBUGCHANNEL(SHLWAPI-SHELLPATH)
  • trunk/src/wnaspi32/winaspi32.cpp

    r4280 r4391  
    1 /* $Id: winaspi32.cpp,v 1.10 2000-09-18 19:27:10 sandervl Exp $ */
     1/* $Id: winaspi32.cpp,v 1.11 2000-10-02 19:03:19 sandervl Exp $ */
    22/*
    33 * WNASPI routines
     
    128128
    129129
    130 static WORD ASPI_ExecScsiCmd( scsiObj *aspi, SRB_ExecSCSICmd *lpPRB, USHORT sel)
     130static WORD ASPI_ExecScsiCmd( scsiObj *aspi, SRB_ExecSCSICmd *lpPRB)
    131131{
    132132  int   status;
     
    281281        {
    282282          dprintf(("Post Routine (%lx) called\n", (DWORD) lpPRB->SRB_PostProc));
    283           //SvL: Restore win32 FS selector
    284           SetFS(sel);
    285283          (*lpPRB->SRB_PostProc)();
    286           RestoreOS2FS();
    287284        }
    288285        else
     
    388385 *             SendASPI32Command32 (WNASPI32.1)
    389386 */
    390 DWORD SendASPICommand(LPSRB lpSRB, USHORT sel)
     387DWORD CDECL SendASPI32Command(LPSRB lpSRB)
    391388{
    392389    DWORD dwRC;
     
    438435
    439436          case SC_EXEC_SCSI_CMD:
    440             dwRC = ASPI_ExecScsiCmd( aspi, &lpSRB->cmd, sel);
     437            dwRC = ASPI_ExecScsiCmd( aspi, &lpSRB->cmd);
    441438            break;
    442439
     
    475472}
    476473
    477 DWORD CDECL SendASPI32Command(LPSRB lpSRB)
    478 {
    479  DWORD yyrc;
    480  USHORT sel = RestoreOS2FS();
    481 
    482     yyrc = SendASPICommand(lpSRB, sel);
    483     SetFS(sel);
    484 
    485     return yyrc;
    486 }
    487 
    488 
    489474/***********************************************************************
    490475 *             GetASPI32DLLVersion32   (WNASPI32.3)
Note: See TracChangeset for help on using the changeset viewer.