Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.5 KiB

4 years ago
  1. //-------------------------------------------------------------------------
  2. //
  3. // FILE: SCSIFNC.H
  4. //
  5. // SCSIFNC Definitions File
  6. //
  7. // Revisions:
  8. // 09-01-92 KJB First.
  9. // 02-19-93 KJB Added support for data underrun and return of actual
  10. // transfer size.
  11. // 03-11-93 JAP Changed TSRB direction flag definitions from
  12. // TSRB_READ/WRITE to TRSBD_READ/WRITE.
  13. // Added TSRBD_UNKNOWN
  14. // 03-11-93 KJB Changed dir flag names and others in TSRB structure.
  15. // 03-19-93 JAP Implemented condition build FAR and NEAR pointers
  16. // 03-22-93 KJB Reorged for stub function library, TSRB def moved
  17. // to typedefs.h.
  18. // 03-25-93 JAP Fixed up prototype typedef inconsistencies
  19. //
  20. //-------------------------------------------------------------------------
  21. #ifndef _SCSIFNC_H
  22. #define _SCSIFNC_H
  23. //
  24. // Public Functions
  25. //
  26. USHORT ScsiWriteBytesSlow (PADAPTER_INFO g, UCHAR FARP pbytes,
  27. ULONG len, PULONG pActualLen, UCHAR phase);
  28. USHORT ScsiReadBytesSlow (PADAPTER_INFO g, UCHAR FARP pbytes,
  29. ULONG len, PULONG pActualLen, UCHAR phase);
  30. USHORT ScsiSendCommand (PADAPTER_INFO g, UCHAR target,
  31. UCHAR lun, UCHAR FARP pcmd, UCHAR cmdlen);
  32. USHORT ScsiGetStat (PADAPTER_INFO g, PUCHAR pstatus);
  33. USHORT ScsiDoIo(PTSRB t);
  34. USHORT ScsiFinishCommandInterrupt (PTSRB t);
  35. USHORT ScsiStartCommandInterrupt (PTSRB t);
  36. USHORT ScsiDoCommand (PTSRB t);
  37. #endif // _SCSIFNC_H