- Initialize BytesPerSector, SectorsPerTrack and NumberOfHeads to zero.
authorReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Tue, 22 Jul 2008 08:52:18 +0000 (08:52 +0000)
committerReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Tue, 22 Jul 2008 08:52:18 +0000 (08:52 +0000)
commit6c5028759938517c52212aa9164e0fe78eb64abb
tree51a79ce9b7ea64c8102a054f0caea48c93173112
parentc61f672499f8534a13b0ccfb8cba934a7f8cda11
- Initialize BytesPerSector, SectorsPerTrack and NumberOfHeads to zero.
- Calculate number of cylinders too now.
- Save number of hidden sectors as well.
- Implement support for IOCTL_DISK_GET_PARTITION_INFO (RamdiskGetPartitionInfo).
- Implement support for IOCTL_DISK_GET_DRIVE_GEOMETRY (shared with IOCTL_CDROM_GET_GEOMETRY, IOCTL_STORAGE_GET_MEDIA_TYPES and IOCTL_DISK_GET_MEDIA_TYPES)
- DiskLength should be a LARGE_INTEGER.
- DiskOffset should be signed.

svn path=/trunk/; revision=34666
reactos/drivers/storage/class/ramdisk/ramdisk.c
reactos/include/reactos/drivers/ntddrdsk.h