|
Classes |
struct | _DEVICE_EXTENSION |
struct | _COMPLETION_CONTEXT |
Defines |
#define | DebugPrint(x) |
#define | MAXIMUM_RETRIES 4 |
Typedefs |
typedef VOID(* | PCLASS_ERROR )(IN PDEVICE_OBJECT DeviceObject, IN PSCSI_REQUEST_BLOCK Srb, IN OUT NTSTATUS *Status, IN OUT BOOLEAN *Retry) |
typedef _DEVICE_EXTENSION | DEVICE_EXTENSION |
typedef _DEVICE_EXTENSION * | PDEVICE_EXTENSION |
typedef _COMPLETION_CONTEXT | COMPLETION_CONTEXT |
typedef _COMPLETION_CONTEXT * | PCOMPLETION_CONTEXT |
Functions |
NTSTATUS | ScsiClassGetCapabilities (IN PDEVICE_OBJECT PortDeviceObject, OUT PIO_SCSI_CAPABILITIES *PortCapabilities) |
NTSTATUS | ScsiClassGetInquiryData (IN PDEVICE_OBJECT PortDeviceObject, IN PSCSI_ADAPTER_BUS_INFO *ConfigInfo) |
NTSTATUS | ScsiClassReadDriveCapacity (IN PDEVICE_OBJECT DeviceObject) |
VOID | ScsiClassReleaseQueue (IN PDEVICE_OBJECT DeviceObject) |
NTSTATUS | ScsiClassRemoveDevice (IN PDEVICE_OBJECT PortDeviceObject, IN UCHAR PathId, IN UCHAR TargetId, IN UCHAR Lun) |
NTSTATUS | ScsiClassAsynchronousCompletion (PDEVICE_OBJECT DeviceObject, PIRP Irp, PVOID Context) |
VOID | ScsiClassSplitRequest (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, IN ULONG MaximumBytes) |
NTSTATUS | ScsiClassDeviceControl (PDEVICE_OBJECT DeviceObject, PIRP Irp) |
NTSTATUS | ScsiClassIoComplete (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, IN PVOID Context) |
NTSTATUS | ScsiClassIoCompleteAssociated (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, IN PVOID Context) |
BOOLEAN | ScsiClassInterpretSenseInfo (IN PDEVICE_OBJECT DeviceObject, IN PSCSI_REQUEST_BLOCK Srb, IN UCHAR MajorFunctionCode, IN ULONG IoDeviceCode, IN ULONG RetryCount, OUT NTSTATUS *Status) |
NTSTATUS | ScsiClassSendSrbSynchronous (PDEVICE_OBJECT DeviceObject, PSCSI_REQUEST_BLOCK Srb, PVOID BufferAddress, ULONG BufferLength, BOOLEAN WriteToDevice) |
NTSTATUS | ScsiClassSendSrbAsynchronous (PDEVICE_OBJECT DeviceObject, PSCSI_REQUEST_BLOCK Srb, PIRP Irp, PVOID BufferAddress, ULONG BufferLength, BOOLEAN WriteToDevice) |
VOID | ScsiClassBuildRequest (PDEVICE_OBJECT DeviceObject, PIRP Irp) |
ULONG | ScsiClassModeSense (IN PDEVICE_OBJECT DeviceObject, IN PCHAR ModeSenseBuffer, IN ULONG Length, IN UCHAR PageMode) |
BOOLEAN | ScsiClassModeSelect (IN PDEVICE_OBJECT DeviceObject, IN PCHAR ModeSelectBuffer, IN ULONG Length, IN BOOLEAN SavePage) |
PVOID | ScsiClassFindModePage (IN PCHAR ModeSenseBuffer, IN ULONG Length, IN UCHAR PageMode) |
NTSTATUS | ScsiClassClaimDevice (IN PDEVICE_OBJECT PortDeviceObject, IN PSCSI_INQUIRY_DATA LunInfo, IN BOOLEAN Release, OUT PDEVICE_OBJECT *NewPortDeviceObject OPTIONAL) |
NTSTATUS | ScsiClassInternalIoControl (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) |