// ntdddisk.h
typedef enum _MEDIA_TYPE {
Unknown,
F5_1Pt2_512,
F3_1Pt44_512,
F3_2Pt88_512,
F3_20Pt8_512,
F3_720_512,
F5_360_512,
F5_320_512,
F5_320_1024,
F5_180_512,
F5_160_512,
RemovableMedia,
FixedMedia,
F3_120M_512,
F3_640_512,
F5_640_512,
F5_720_512,
F3_1Pt2_512,
F3_1Pt23_1024,
F5_1Pt23_1024,
F3_128Mb_512,
F3_230Mb_512,
F8_256_128,
F3_200Mb_512,
F3_240M_512,
F3_32M_512
} MEDIA_TYPE, *PMEDIA_TYPE;
View the official Windows Driver Kit DDI reference
// winioctl.h
typedef enum _MEDIA_TYPE {
Unknown = 0,
F5_1Pt2_512,
F3_1Pt44_512,
F3_2Pt88_512,
F3_20Pt8_512,
F3_720_512,
F5_360_512,
F5_320_512,
F5_320_1024,
F5_180_512,
F5_160_512,
RemovableMedia,
FixedMedia,
F3_120M_512,
F3_640_512,
F5_640_512,
F5_720_512,
F3_1Pt2_512,
F3_1Pt23_1024,
F5_1Pt23_1024,
F3_128Mb_512,
F3_230Mb_512,
F8_256_128,
F3_200Mb_512,
F3_240M_512,
F3_32M_512
} MEDIA_TYPE, *PMEDIA_TYPE;
View the official Win32 API reference
No description available.
The MEDIA_TYPE enumerators are used in conjunction with the IOCTL_DISK_FORMAT_TRACKS request to format the specified set of contiguous tracks on the disk.
Unknown
Format is unknown.
F5_1Pt2_512
Indicates 5.25", 1.2 MB, 512 bytes/sector media.
F3_1Pt44_512
Indicates 3.5", 1.44 MB, 512 bytes/sector media.
F3_2Pt88_512
Indicates 3.5", 2.88 MB, 512 bytes/sector media.
F3_20Pt8_512
Indicates 3.5", 20.8 MB, 512 bytes/sector media.
F3_720_512
Indicates 3.5", 720 KB, 512 bytes/sector media.
F5_360_512
Indicates 5.25", 360 KB, 512 bytes/sector media.
F5_320_512
Indicates 5.25", 320 KB, 512 bytes/sector media.
F5_320_1024
Indicates 5.25", 320 KB, 1024 bytes/sector media.
F5_180_512
Indicates 5.25", 180 KB, 512 bytes/sector media.
F5_160_512
Indicates 5.25", 160 KB, 512 bytes/sector media.
RemovableMedia
Indicates removable media other than a floppy disk.
FixedMedia
Indicates fixed hard disk media.
F3_120M_512
Indicates 3.5", 120 MB media.
F3_640_512
Indicates 3.5", 640 KB, 512 bytes/sector media.
F5_640_512
Indicates 5.25", 640 KB, 512 bytes/sector media.
F5_720_512
Indicates 5.25", 720 KB, 512 bytes/sector media.
F3_1Pt2_512
Indicates 3.5", 1.2 MB, 512 bytes/sector media.
F3_1Pt23_1024
Indicates 3.5", 1.23 MB, 1024 bytes/sector media.
F5_1Pt23_1024
Indicates 5.25", 1.23 MB, 1024 bytes/sector media.
F3_128Mb_512
Indicates 3.5" magneto-optical (MO), 128 MB, 512 bytes/sector media.
F3_230Mb_512
Indicates 3.5" magneto-optical (MO), 230 MB, 512 bytes/sector media.
F8_256_128
Indicates 8", 256 KB, 128 bytes/sector media.
F3_200Mb_512
3.5", 200M Floppy (HiFD)
F3_240M_512
3.5", 240Mb Floppy (HiFD)
F3_32M_512
3.5", 32Mb Floppy
The caller of the IOCTL_DISK_FORMAT_TRACK request indicates the disk size and number of bytes per sector, along with other formatting information, by specifying one of these values in the MediaType member of the FORMAT_PARAMETERS structure.
Removable disks include zip drivers, jaz drives, magneto-optical (MO) drives, and LS-120 floppies as well as regular floppies.
Represents the various forms of device media.
Unknown:0
Format is unknown
F5_1Pt2_512
A 5.25" floppy, with 1.2MB and 512 bytes/sector.
F3_1Pt44_512
A 3.5" floppy, with 1.44MB and 512 bytes/sector.
F3_2Pt88_512
A 3.5" floppy, with 2.88MB and 512 bytes/sector.
F3_20Pt8_512
A 3.5" floppy, with 20.8MB and 512 bytes/sector.
F3_720_512
A 3.5" floppy, with 720KB and 512 bytes/sector.
F5_360_512
A 5.25" floppy, with 360KB and 512 bytes/sector.
F5_320_512
A 5.25" floppy, with 320KB and 512 bytes/sector.
F5_320_1024
A 5.25" floppy, with 320KB and 1024 bytes/sector.
F5_180_512
A 5.25" floppy, with 180KB and 512 bytes/sector.
F5_160_512
A 5.25" floppy, with 160KB and 512 bytes/sector.
RemovableMedia
Removable media other than floppy.
FixedMedia
Fixed hard disk media.
F3_120M_512
A 3.5" floppy, with 120MB and 512 bytes/sector.
F3_640_512
A 3.5" floppy, with 640KB and 512 bytes/sector.
F5_640_512
A 5.25" floppy, with 640KB and 512 bytes/sector.
F5_720_512
A 5.25" floppy, with 720KB and 512 bytes/sector.
F3_1Pt2_512
A 3.5" floppy, with 1.2MB and 512 bytes/sector.
F3_1Pt23_1024
A 3.5" floppy, with 1.23MB and 1024 bytes/sector.
F5_1Pt23_1024
A 5.25" floppy, with 1.23MB and 1024 bytes/sector.
F3_128Mb_512
A 3.5" floppy, with 128MB and 512 bytes/sector.
F3_230Mb_512
A 3.5" floppy, with 230MB and 512 bytes/sector.
F8_256_128
An 8" floppy, with 256KB and 128 bytes/sector.
F3_200Mb_512
A 3.5" floppy, with 200MB and 512 bytes/sector. (HiFD).
F3_240M_512
A 3.5" floppy, with 240MB and 512 bytes/sector. (HiFD).
F3_32M_512
A 3.5" floppy, with 32MB and 512 bytes/sector.
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 control code. The DeviceIoControl function receives an array of DISK_GEOMETRY structures in response to an IOCTL_STORAGE_GET_MEDIA_TYPES control code. The STORAGE_MEDIA_TYPE enumeration type extends this enumeration type.