|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stddef.h>#include <ntddk.h>#include <winerror.h>#include <scsi.h>#include <classpnp.h>#include <initguid.h>#include <ntddstor.h>#include <ntstrsafe.h>#include <intsafe.h>
Go to the source code of this file.
Classes | |
| struct | _DRIVE_MEDIA_LIMITS |
| struct | _DRIVE_MEDIA_CONSTANTS |
| struct | _DISK_DATA |
| struct | _FORMATTED_CAPACITY |
| struct | _CDB12FORMAT |
| struct | _DEFECT_LIST_HEADER |
| struct | _FORMAT_UNIT_PARAMETER_LIST |
Typedefs | |
| typedef enum _DRIVE_MEDIA_TYPE | DRIVE_MEDIA_TYPE |
| typedef struct _DRIVE_MEDIA_LIMITS | DRIVE_MEDIA_LIMITS |
| typedef struct _DRIVE_MEDIA_LIMITS * | PDRIVE_MEDIA_LIMITS |
| typedef struct _DRIVE_MEDIA_CONSTANTS | DRIVE_MEDIA_CONSTANTS |
| typedef struct _DRIVE_MEDIA_CONSTANTS * | PDRIVE_MEDIA_CONSTANTS |
| typedef struct _DISK_DATA | DISK_DATA |
| typedef struct _DISK_DATA * | PDISK_DATA |
| typedef struct _FORMATTED_CAPACITY | FORMATTED_CAPACITY |
| typedef struct _FORMATTED_CAPACITY * | PFORMATTED_CAPACITY |
| typedef struct _CDB12FORMAT | CDB12FORMAT |
| typedef struct _CDB12FORMAT * | PCDB12FORMAT |
| typedef struct _DEFECT_LIST_HEADER | DEFECT_LIST_HEADER |
| typedef struct _DEFECT_LIST_HEADER * | PDEFECT_LIST_HEADER |
| typedef struct _FORMAT_UNIT_PARAMETER_LIST | FORMAT_UNIT_PARAMETER_LIST |
| typedef struct _FORMAT_UNIT_PARAMETER_LIST * | PFORMAT_UNIT_PARAMETER_LIST |
Variables | |
| DRIVE_MEDIA_LIMITS | DriveMediaLimits [NUMBER_OF_DRIVE_TYPES] |
| DRIVE_MEDIA_CONSTANTS | DriveMediaConstants [] |
| FORMATTED_CAPACITY | FloppyCapacities [] |
| DISK_GEOMETRY | FloppyGeometries [] |
| DRIVER_INITIALIZE | DriverEntry |
| DRIVER_UNLOAD | ScsiFlopUnload |
| DRIVER_ADD_DEVICE | ScsiFlopAddDevice |
| #define DRIVE_TYPE_NONE NUMBER_OF_DRIVE_TYPES |
| #define FLOPPY_CAPACITIES (sizeof(FloppyCapacities)/sizeof(FloppyCapacities[0])) |
| #define NUMBER_OF_DRIVE_MEDIA_COMBINATIONS sizeof(DriveMediaConstants)/sizeof(DRIVE_MEDIA_CONSTANTS) |
| typedef struct _CDB12FORMAT CDB12FORMAT |
| typedef struct _DISK_DATA DISK_DATA |
| typedef enum _DRIVE_MEDIA_TYPE DRIVE_MEDIA_TYPE |
| typedef struct _CDB12FORMAT * PCDB12FORMAT |
| typedef struct _DEFECT_LIST_HEADER * PDEFECT_LIST_HEADER |
| typedef struct _DISK_DATA * PDISK_DATA |
| typedef struct _DRIVE_MEDIA_LIMITS * PDRIVE_MEDIA_LIMITS |
| typedef struct _FORMATTED_CAPACITY * PFORMATTED_CAPACITY |
| C_ASSERT | ( | (sizeof(FloppyGeometries)/sizeof(FloppyGeometries[0])) | = =FLOPPY_CAPACITIES | ) |
| NTSTATUS CreateFlopDeviceObject | ( | IN PDRIVER_OBJECT | DriverObject, |
| IN PDEVICE_OBJECT | PortDeviceObject, | ||
| IN ULONG | DeviceCount | ||
| ) |
Definition at line 651 of file floppy.c.
Referenced by ScsiFlopAddDevice().
| ULONG DetermineDriveType | ( | PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 1899 of file floppy.c.
Referenced by FlCheckFormatParameters(), ScsiFlopDeviceControl(), and USBFlopGetMediaTypes().
| NTSTATUS DetermineMediaType | ( | PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 1739 of file floppy.c.
Referenced by ScsiFlopDeviceControl(), and ScsiFlopStartDevice().
| NTSTATUS DriverEntry | ( | IN PDRIVER_OBJECT | DriverObject, |
| IN PUNICODE_STRING | RegistryPath | ||
| ) |
Definition at line 501 of file floppy.c.
| BOOLEAN FindScsiFlops | ( | IN PDRIVER_OBJECT | DriverObject, |
| IN PUNICODE_STRING | RegistryPath, | ||
| IN PCLASS_INIT_DATA | InitializationData, | ||
| IN PDEVICE_OBJECT | PortDeviceObject, | ||
| IN ULONG | PortNumber | ||
| ) |
| BOOLEAN FlCheckFormatParameters | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PFORMAT_PARAMETERS | FormatParameters | ||
| ) |
Definition at line 2056 of file floppy.c.
Referenced by ScsiFlopDeviceControl().
| NTSTATUS FlopticalFormatMedia | ( | PDEVICE_OBJECT | DeviceObject, |
| PFORMAT_PARAMETERS | Format | ||
| ) |
Definition at line 2682 of file floppy.c.
Referenced by ScsiFlopDeviceControl().
| NTSTATUS FormatMedia | ( | PDEVICE_OBJECT | DeviceObject, |
| MEDIA_TYPE | MediaType | ||
| ) |
Definition at line 2167 of file floppy.c.
Referenced by ScsiFlopDeviceControl().
| BOOLEAN IsFloppyDevice | ( | PDEVICE_OBJECT | DeviceObject | ) |
Referenced by ScsiFlopInitDevice().
| NTSTATUS ScsiFlopAddDevice | ( | IN PDRIVER_OBJECT | DriverObject, |
| IN PDEVICE_OBJECT | Pdo | ||
| ) |
Definition at line 603 of file floppy.c.
| NTSTATUS ScsiFlopDeviceControl | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | Irp | ||
| ) |
Referenced by DriverEntry().
| NTSTATUS ScsiFlopDeviceControl | ( | PDEVICE_OBJECT | DeviceObject, |
| PIRP | Irp | ||
| ) |
Definition at line 1127 of file floppy.c.
| NTSTATUS ScsiFlopInitDevice | ( | IN PDEVICE_OBJECT | Fdo | ) |
Definition at line 826 of file floppy.c.
Referenced by DriverEntry().
| VOID ScsiFlopProcessError | ( | PDEVICE_OBJECT | DeviceObject, |
| PSCSI_REQUEST_BLOCK | Srb, | ||
| NTSTATUS * | Status, | ||
| BOOLEAN * | Retry | ||
| ) |
Definition at line 2397 of file floppy.c.
Referenced by DriverEntry().
| NTSTATUS ScsiFlopReadWriteVerification | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | Irp | ||
| ) |
Definition at line 1087 of file floppy.c.
Referenced by DriverEntry().
| NTSTATUS ScsiFlopRemoveDevice | ( | IN PDEVICE_OBJECT | Fdo, |
| IN UCHAR | Type | ||
| ) |
Definition at line 2796 of file floppy.c.
Referenced by DriverEntry().
| NTSTATUS ScsiFlopStartDevice | ( | IN PDEVICE_OBJECT | Fdo | ) |
Definition at line 945 of file floppy.c.
Referenced by DriverEntry().
| NTSTATUS ScsiFlopStopDevice | ( | IN PDEVICE_OBJECT | Fdo, |
| IN UCHAR | Type | ||
| ) |
| VOID ScsiFlopUnload | ( | IN PDRIVER_OBJECT | DriverObject | ) |
| NTSTATUS USBFlopFormatTracks | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | Irp | ||
| ) |
Definition at line 3269 of file floppy.c.
Referenced by ScsiFlopDeviceControl().
| NTSTATUS USBFlopGetMediaTypes | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | Irp | ||
| ) |
Definition at line 2899 of file floppy.c.
Referenced by ScsiFlopDeviceControl().
| DRIVE_MEDIA_CONSTANTS DriveMediaConstants[] |
Definition at line 179 of file floppy.c.
Referenced by DetermineDriveType(), DetermineMediaType(), FlCheckFormatParameters(), FlopticalFormatMedia(), FormatMedia(), ScsiFlopDeviceControl(), and USBFlopGetMediaTypes().
| DRIVE_MEDIA_LIMITS DriveMediaLimits[NUMBER_OF_DRIVE_TYPES] |
Definition at line 142 of file floppy.c.
Referenced by DetermineDriveType(), FlCheckFormatParameters(), ScsiFlopDeviceControl(), and USBFlopGetMediaTypes().
| FORMATTED_CAPACITY FloppyCapacities[] |
Definition at line 255 of file floppy.c.
Referenced by USBFlopFormatTracks(), and USBFlopGetMediaTypes().
| DISK_GEOMETRY FloppyGeometries[] |
Definition at line 270 of file floppy.c.
Referenced by USBFlopFormatTracks(), and USBFlopGetMediaTypes().
| DRIVER_ADD_DEVICE ScsiFlopAddDevice |
Definition at line 351 of file floppy.c.
Referenced by DriverEntry().
| DRIVER_UNLOAD ScsiFlopUnload |
Definition at line 349 of file floppy.c.
Referenced by DriverEntry().