enumerasi MEDIA_TYPE (winioctl.h)
Mewakili berbagai bentuk media perangkat.
Sintaks
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;
Konstanta
Unknown Nilai: 0 Format tidak diketahui |
F5_1Pt2_512 Floppy 5,25", dengan 1,2MB dan 512 byte/sektor. |
F3_1Pt44_512 Floppy 3,5", dengan 1,44MB dan 512 byte/sektor. |
F3_2Pt88_512 Floppy 3,5", dengan 2,88MB dan 512 byte/sektor. |
F3_20Pt8_512 Floppy 3,5", dengan 20,8MB dan 512 byte/sektor. |
F3_720_512 Floppy 3,5", dengan 720KB dan 512 byte/sektor. |
F5_360_512 Floppy 5,25", dengan 360KB dan 512 byte/sektor. |
F5_320_512 Floppy 5,25", dengan 320KB dan 512 byte/sektor. |
F5_320_1024 Floppy 5,25", dengan 320KB dan 1024 byte/sektor. |
F5_180_512 Floppy 5,25", dengan 180KB dan 512 byte/sektor. |
F5_160_512 Floppy 5,25", dengan 160KB dan 512 byte/sektor. |
RemovableMedia Media yang dapat dilepas selain floppy. |
FixedMedia Memperbaiki media hard disk. |
F3_120M_512 Floppy 3,5", dengan 120MB dan 512 byte/sektor. |
F3_640_512 Floppy 3,5", dengan 640KB dan 512 byte/sektor. |
F5_640_512 Floppy 5,25", dengan 640KB dan 512 byte/sektor. |
F5_720_512 Floppy 5,25", dengan 720KB dan 512 byte/sektor. |
F3_1Pt2_512 Floppy 3,5", dengan 1,2MB dan 512 byte/sektor. |
F3_1Pt23_1024 Floppy 3,5", dengan 1,23MB dan 1024 byte/sektor. |
F5_1Pt23_1024 Floppy 5,25", dengan 1,23MB dan 1024 byte/sektor. |
F3_128Mb_512 Floppy 3,5", dengan 128MB dan 512 byte/sektor. |
F3_230Mb_512 Floppy 3,5", dengan 230MB dan 512 byte/sektor. |
F8_256_128 Floppy 8", dengan 256KB dan 128 byte/sektor. |
F3_200Mb_512 Floppy 3,5", dengan 200MB dan 512 byte/sektor. (HiFD). |
F3_240M_512 Floppy 3,5", dengan 240MB dan 512 byte/sektor. (HiFD). |
F3_32M_512 Floppy 3,5", dengan 32MB dan 512 byte/sektor. |
Keterangan
Anggota MediaType dari struktur data DISK_GEOMETRY berjenis MEDIA_TYPE. Fungsi DeviceIoControl menerima struktur DISK_GEOMETRY sebagai respons terhadap kode kontrol IOCTL_DISK_GET_DRIVE_GEOMETRY . Fungsi DeviceIoControl menerima array struktur DISK_GEOMETRY sebagai respons terhadap kode kontrol IOCTL_STORAGE_GET_MEDIA_TYPES . Jenis enumerasi STORAGE_MEDIA_TYPE memperluas jenis enumerasi ini.
Persyaratan
Persyaratan | Nilai |
---|---|
Klien minimum yang didukung | Windows XP [hanya aplikasi desktop] |
Server minimum yang didukung | Windows Server 2003 [hanya aplikasi desktop] |
Header | winioctl.h |