Platform SDK: Win32 API |
Contains information about the drive specified in the call to Get Drive Map Info (Interrupt 2lh Function 440Dh Minor Code 6Fh).
DRIVE_MAP_INFO struc dmiAllocationLength db ? dmiInfoLength db ? dmiFlags db ? dmiInt13Unit db ? dmiAssociatedDriveMap dd ? dmiPartitionStartRBA dq ? DRIVE_MAP_INFO ends
PROT_MODE_LOGICAL_DRIVE (01h) | A protected-mode driver is in use for this logical drive. |
PROT_MODE_PHYSICAL_DRIVE (02h) | A protected-mode driver is in use for the physical drive corresponding to this logical drive. |
PROT_MODE_ONLY_DRIVE (04h) | The drive is not available when running with MS-DOS. |
PROT_MODE_EJECT (08h) | A protected-mode drive supports an electronic eject operation. |
PROT_MODE_ASYNC_NOTIFY (10h) | The drive issues media arrival and removal notifications. This value is currently used for CD-ROM drives that are controlled by the protected-mode driver and that cause a broadcast message when media is removed or inserted without the application having to make a request to the drive. It can also be used by disk drivers. |
00 - 7Fh | Floppy disk drive (00 for the first floppy drive, 01 for the second, and so on). |
80 - FEh | Hard disk drive (80 for the first hard disk drive, 81 for the second, and so on). |
FFh | The given drive does not map to a physical drive. |
Before an application makes a call to Get Drive Map Info, the dmiAllocationLength member must be set to the size of the DRIVE_MAP_INFO structure. All other members of the structure are filled in by Get Drive Map Info.