Overview
Group
Quick Info

Windows NT
Yes
Win95
No
Win32s
No
Import Library
-
Header File
winioctl.h
Unicode
No
Platform Notes
None

MEDIA_TYPE

The MEDIA_TYPE enumeration type contains values that specify various forms of device media. The comments explain the enumerators.

typedef enum _MEDIA_TYPE {

Unknown, // Format is unknown

F5_1Pt2_512, // 5.25", 1.2MB, 512 bytes/sector

F3_1Pt44_512, // 3.5", 1.44MB, 512 bytes/sector

F3_2Pt88_512, // 3.5", 2.88MB, 512 bytes/sector

F3_20Pt8_512, // 3.5", 20.8MB, 512 bytes/sector

F3_720_512, // 3.5", 720KB, 512 bytes/sector

F5_360_512, // 5.25", 360KB, 512 bytes/sector

F5_320_512, // 5.25", 320KB, 512 bytes/sector

F5_320_1024, // 5.25", 320KB, 1024 bytes/sector

F5_180_512, // 5.25", 180KB, 512 bytes/sector

F5_160_512, // 5.25", 160KB, 512 bytes/sector

RemovableMedia, // Removable media other than floppy

FixedMedia // Fixed hard disk media

} MEDIA_TYPE;

Remarks

The MediaType member of the DISK_GEOMETRY data structure is of type MEDIA_TYPE. The DeviceIoControl function receives a DISK_GEOMETRY structure in response to an IOCTL_DISK_GET_DRIVE_GEOMETRY device I/O operation. The DeviceIoControl function receives an array of DISK_GEOMETRY structures in response to an IOCTL_DISK_GET_MEDIA_TYPES device I/O operation.

See Also

DeviceIoControl
, DISK_GEOMETRY, IOCTL_DISK_GET_DRIVE_GEOMETRY, IOCTL_DISK_GET_MEDIA_TYPES

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples