ReactOS  0.4.13-dev-100-gc8611ae
ntddscsi.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _SCSI_PASS_THROUGH
 
struct  _SCSI_PASS_THROUGH_DIRECT
 
struct  _SCSI_PASS_THROUGH_EX
 
struct  _ATA_PASS_THROUGH_EX
 
struct  _ATA_PASS_THROUGH_DIRECT
 
struct  _SCSI_BUS_DATA
 
struct  _SCSI_ADAPTER_BUS_INFO
 
struct  _SCSI_INQUIRY_DATA
 
struct  _SRB_IO_CONTROL
 
struct  _IO_SCSI_CAPABILITIES
 
struct  _SCSI_ADDRESS
 
struct  _DUMP_POINTERS
 

Macros

#define _NTDDSCSIH_
 
#define IOCTL_SCSI_BASE   FILE_DEVICE_CONTROLLER
 
#define DD_SCSI_DEVICE_NAME   "\\Device\\ScsiPort"
 
#define DD_SCSI_DEVICE_NAME_U   L"\\Device\\ScsiPort"
 
#define IOCTL_SCSI_PASS_THROUGH   CTL_CODE(IOCTL_SCSI_BASE,0x0401,METHOD_BUFFERED,FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_SCSI_MINIPORT   CTL_CODE(IOCTL_SCSI_BASE,0x0402,METHOD_BUFFERED,FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_SCSI_GET_INQUIRY_DATA   CTL_CODE(IOCTL_SCSI_BASE,0x0403,METHOD_BUFFERED,FILE_ANY_ACCESS)
 
#define IOCTL_SCSI_GET_CAPABILITIES   CTL_CODE(IOCTL_SCSI_BASE,0x0404,METHOD_BUFFERED,FILE_ANY_ACCESS)
 
#define IOCTL_SCSI_PASS_THROUGH_DIRECT   CTL_CODE(IOCTL_SCSI_BASE,0x0405,METHOD_BUFFERED,FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_SCSI_GET_ADDRESS   CTL_CODE(IOCTL_SCSI_BASE,0x0406,METHOD_BUFFERED,FILE_ANY_ACCESS)
 
#define IOCTL_SCSI_RESCAN_BUS   CTL_CODE(IOCTL_SCSI_BASE,0x0407,METHOD_BUFFERED,FILE_ANY_ACCESS)
 
#define IOCTL_SCSI_GET_DUMP_POINTERS   CTL_CODE(IOCTL_SCSI_BASE,0x0408,METHOD_BUFFERED,FILE_ANY_ACCESS)
 
#define IOCTL_SCSI_FREE_DUMP_POINTERS   CTL_CODE(IOCTL_SCSI_BASE,0x0409,METHOD_BUFFERED,FILE_ANY_ACCESS)
 
#define IOCTL_SCSI_PASS_THROUGH_EX   CTL_CODE(IOCTL_SCSI_BASE, 0x0411, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_SCSI_PASS_THROUGH_DIRECT_EX   CTL_CODE(IOCTL_SCSI_BASE, 0x0412, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_IDE_PASS_THROUGH   CTL_CODE(IOCTL_SCSI_BASE,0x040a,METHOD_BUFFERED,FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_ATA_PASS_THROUGH   CTL_CODE(IOCTL_SCSI_BASE,0x040b,METHOD_BUFFERED,FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_ATA_PASS_THROUGH_DIRECT   CTL_CODE(IOCTL_SCSI_BASE,0x040c,METHOD_BUFFERED,FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define ATA_FLAGS_DRDY_REQUIRED   (1 << 0)
 
#define ATA_FLAGS_DATA_IN   (1 << 1)
 
#define ATA_FLAGS_DATA_OUT   (1 << 2)
 
#define ATA_FLAGS_48BIT_COMMAND   (1 << 3)
 
#define ATA_FLAGS_USE_DMA   (1 << 4)
 
#define SCSI_IOCTL_DATA_OUT   0
 
#define SCSI_IOCTL_DATA_IN   1
 
#define SCSI_IOCTL_DATA_UNSPECIFIED   2
 

Typedefs

typedef struct _SCSI_PASS_THROUGH SCSI_PASS_THROUGH
 
typedef struct _SCSI_PASS_THROUGHPSCSI_PASS_THROUGH
 
typedef struct _SCSI_PASS_THROUGH_DIRECT SCSI_PASS_THROUGH_DIRECT
 
typedef struct _SCSI_PASS_THROUGH_DIRECTPSCSI_PASS_THROUGH_DIRECT
 
typedef struct _SCSI_PASS_THROUGH_EX SCSI_PASS_THROUGH_EX
 
typedef struct _SCSI_PASS_THROUGH_EXPSCSI_PASS_THROUGH_EX
 
typedef struct _ATA_PASS_THROUGH_EX ATA_PASS_THROUGH_EX
 
typedef struct _ATA_PASS_THROUGH_EXPATA_PASS_THROUGH_EX
 
typedef struct _ATA_PASS_THROUGH_DIRECT ATA_PASS_THROUGH_DIRECT
 
typedef struct _ATA_PASS_THROUGH_DIRECTPATA_PASS_THROUGH_DIRECT
 
typedef struct _SCSI_BUS_DATA SCSI_BUS_DATA
 
typedef struct _SCSI_BUS_DATAPSCSI_BUS_DATA
 
typedef struct _SCSI_ADAPTER_BUS_INFO SCSI_ADAPTER_BUS_INFO
 
typedef struct _SCSI_ADAPTER_BUS_INFOPSCSI_ADAPTER_BUS_INFO
 
typedef struct _SCSI_INQUIRY_DATA SCSI_INQUIRY_DATA
 
typedef struct _SCSI_INQUIRY_DATAPSCSI_INQUIRY_DATA
 
typedef struct _SRB_IO_CONTROL SRB_IO_CONTROL
 
typedef struct _SRB_IO_CONTROLPSRB_IO_CONTROL
 
typedef struct _IO_SCSI_CAPABILITIES IO_SCSI_CAPABILITIES
 
typedef struct _IO_SCSI_CAPABILITIESPIO_SCSI_CAPABILITIES
 
typedef struct _SCSI_ADDRESS SCSI_ADDRESS
 
typedef struct _SCSI_ADDRESSPSCSI_ADDRESS
 
typedef struct _DUMP_POINTERS DUMP_POINTERS
 
typedef struct _DUMP_POINTERSPDUMP_POINTERS
 

Macro Definition Documentation

◆ _NTDDSCSIH_

#define _NTDDSCSIH_

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER.PD within this package.

Definition at line 17 of file ntddscsi.h.

◆ ATA_FLAGS_48BIT_COMMAND

#define ATA_FLAGS_48BIT_COMMAND   (1 << 3)

Definition at line 195 of file ntddscsi.h.

◆ ATA_FLAGS_DATA_IN

#define ATA_FLAGS_DATA_IN   (1 << 1)

Definition at line 193 of file ntddscsi.h.

◆ ATA_FLAGS_DATA_OUT

#define ATA_FLAGS_DATA_OUT   (1 << 2)

Definition at line 194 of file ntddscsi.h.

◆ ATA_FLAGS_DRDY_REQUIRED

#define ATA_FLAGS_DRDY_REQUIRED   (1 << 0)

Definition at line 192 of file ntddscsi.h.

◆ ATA_FLAGS_USE_DMA

#define ATA_FLAGS_USE_DMA   (1 << 4)

Definition at line 196 of file ntddscsi.h.

◆ DD_SCSI_DEVICE_NAME

#define DD_SCSI_DEVICE_NAME   "\\Device\\ScsiPort"

Definition at line 25 of file ntddscsi.h.

◆ DD_SCSI_DEVICE_NAME_U

#define DD_SCSI_DEVICE_NAME_U   L"\\Device\\ScsiPort"

Definition at line 26 of file ntddscsi.h.

◆ IOCTL_ATA_PASS_THROUGH

#define IOCTL_ATA_PASS_THROUGH   CTL_CODE(IOCTL_SCSI_BASE,0x040b,METHOD_BUFFERED,FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 40 of file ntddscsi.h.

◆ IOCTL_ATA_PASS_THROUGH_DIRECT

#define IOCTL_ATA_PASS_THROUGH_DIRECT   CTL_CODE(IOCTL_SCSI_BASE,0x040c,METHOD_BUFFERED,FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 41 of file ntddscsi.h.

◆ IOCTL_IDE_PASS_THROUGH

#define IOCTL_IDE_PASS_THROUGH   CTL_CODE(IOCTL_SCSI_BASE,0x040a,METHOD_BUFFERED,FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 39 of file ntddscsi.h.

◆ IOCTL_SCSI_BASE

#define IOCTL_SCSI_BASE   FILE_DEVICE_CONTROLLER

Definition at line 23 of file ntddscsi.h.

◆ IOCTL_SCSI_FREE_DUMP_POINTERS

#define IOCTL_SCSI_FREE_DUMP_POINTERS   CTL_CODE(IOCTL_SCSI_BASE,0x0409,METHOD_BUFFERED,FILE_ANY_ACCESS)

Definition at line 36 of file ntddscsi.h.

◆ IOCTL_SCSI_GET_ADDRESS

#define IOCTL_SCSI_GET_ADDRESS   CTL_CODE(IOCTL_SCSI_BASE,0x0406,METHOD_BUFFERED,FILE_ANY_ACCESS)

Definition at line 33 of file ntddscsi.h.

◆ IOCTL_SCSI_GET_CAPABILITIES

#define IOCTL_SCSI_GET_CAPABILITIES   CTL_CODE(IOCTL_SCSI_BASE,0x0404,METHOD_BUFFERED,FILE_ANY_ACCESS)

Definition at line 31 of file ntddscsi.h.

◆ IOCTL_SCSI_GET_DUMP_POINTERS

#define IOCTL_SCSI_GET_DUMP_POINTERS   CTL_CODE(IOCTL_SCSI_BASE,0x0408,METHOD_BUFFERED,FILE_ANY_ACCESS)

Definition at line 35 of file ntddscsi.h.

◆ IOCTL_SCSI_GET_INQUIRY_DATA

#define IOCTL_SCSI_GET_INQUIRY_DATA   CTL_CODE(IOCTL_SCSI_BASE,0x0403,METHOD_BUFFERED,FILE_ANY_ACCESS)

Definition at line 30 of file ntddscsi.h.

◆ IOCTL_SCSI_MINIPORT

#define IOCTL_SCSI_MINIPORT   CTL_CODE(IOCTL_SCSI_BASE,0x0402,METHOD_BUFFERED,FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 29 of file ntddscsi.h.

◆ IOCTL_SCSI_PASS_THROUGH

#define IOCTL_SCSI_PASS_THROUGH   CTL_CODE(IOCTL_SCSI_BASE,0x0401,METHOD_BUFFERED,FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 28 of file ntddscsi.h.

◆ IOCTL_SCSI_PASS_THROUGH_DIRECT

#define IOCTL_SCSI_PASS_THROUGH_DIRECT   CTL_CODE(IOCTL_SCSI_BASE,0x0405,METHOD_BUFFERED,FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 32 of file ntddscsi.h.

◆ IOCTL_SCSI_PASS_THROUGH_DIRECT_EX

#define IOCTL_SCSI_PASS_THROUGH_DIRECT_EX   CTL_CODE(IOCTL_SCSI_BASE, 0x0412, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 38 of file ntddscsi.h.

◆ IOCTL_SCSI_PASS_THROUGH_EX

#define IOCTL_SCSI_PASS_THROUGH_EX   CTL_CODE(IOCTL_SCSI_BASE, 0x0411, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 37 of file ntddscsi.h.

◆ IOCTL_SCSI_RESCAN_BUS

#define IOCTL_SCSI_RESCAN_BUS   CTL_CODE(IOCTL_SCSI_BASE,0x0407,METHOD_BUFFERED,FILE_ANY_ACCESS)

Definition at line 34 of file ntddscsi.h.

◆ SCSI_IOCTL_DATA_IN

#define SCSI_IOCTL_DATA_IN   1

Definition at line 263 of file ntddscsi.h.

◆ SCSI_IOCTL_DATA_OUT

#define SCSI_IOCTL_DATA_OUT   0

Definition at line 262 of file ntddscsi.h.

◆ SCSI_IOCTL_DATA_UNSPECIFIED

#define SCSI_IOCTL_DATA_UNSPECIFIED   2

Definition at line 264 of file ntddscsi.h.

Typedef Documentation

◆ ATA_PASS_THROUGH_DIRECT

◆ ATA_PASS_THROUGH_EX

◆ DUMP_POINTERS

◆ IO_SCSI_CAPABILITIES

◆ PATA_PASS_THROUGH_DIRECT

◆ PATA_PASS_THROUGH_EX

◆ PDUMP_POINTERS

◆ PIO_SCSI_CAPABILITIES

◆ PSCSI_ADAPTER_BUS_INFO

◆ PSCSI_ADDRESS

◆ PSCSI_BUS_DATA

◆ PSCSI_INQUIRY_DATA

◆ PSCSI_PASS_THROUGH

◆ PSCSI_PASS_THROUGH_DIRECT

◆ PSCSI_PASS_THROUGH_EX

◆ PSRB_IO_CONTROL

◆ SCSI_ADAPTER_BUS_INFO

◆ SCSI_ADDRESS

◆ SCSI_BUS_DATA

◆ SCSI_INQUIRY_DATA

◆ SCSI_PASS_THROUGH

◆ SCSI_PASS_THROUGH_DIRECT

◆ SCSI_PASS_THROUGH_EX

◆ SRB_IO_CONTROL