home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / code / smpi / smpi.h < prev   
Encoding:
C/C++ Source or Header  |  1995-05-19  |  888 b   |  32 lines

  1. //*************************************************************
  2. //
  3. //                          SMPI.H
  4. //
  5. //*************************************************************
  6.  
  7. #define IOCTL_SCSI_MINIPORT 0x0004D008  // see NTDDSCSI.H for definition
  8.  
  9. #define SMP_RETURN_3F       0x80012140  // defined by our miniport driver
  10.                                         // using the Microsoft template
  11.  
  12. #define SMP_PRINT_STRING    0x80000001  // random number
  13.  
  14. //
  15. // Define header for I/O control SRB.  See NTDDSCSI.H for definition
  16. //
  17.  
  18. typedef struct _SRB_IO_CONTROL {
  19.         ULONG HeaderLength;
  20.         UCHAR Signature[8];
  21.         ULONG Timeout;
  22.         ULONG ControlCode;
  23.         ULONG ReturnCode;
  24.         ULONG Length;
  25. } SRB_IO_CONTROL, *PSRB_IO_CONTROL;
  26.  
  27.  
  28. typedef struct {
  29.     SRB_IO_CONTROL sic;
  30.     UCHAR          ucDataBuffer[512];
  31. } SRB_BUFFER, *PSRB_BUFFER;
  32.