MEDIA_TYPE enumeration

Represents the various forms of device media.

Syntax


typedef enum _MEDIA_TYPE { 
  Unknown         = 0x00,
  F5_1Pt2_512     = 0x01,
  F3_1Pt44_512    = 0x02,
  F3_2Pt88_512    = 0x03,
  F3_20Pt8_512    = 0x04,
  F3_720_512      = 0x05,
  F5_360_512      = 0x06,
  F5_320_512      = 0x07,
  F5_320_1024     = 0x08,
  F5_180_512      = 0x09,
  F5_160_512      = 0x0a,
  RemovableMedia  = 0x0b,
  FixedMedia      = 0x0c,
  F3_120M_512     = 0x0d,
  F3_640_512      = 0x0e,
  F5_640_512      = 0x0f,
  F5_720_512      = 0x10,
  F3_1Pt2_512     = 0x11,
  F3_1Pt23_1024   = 0x12,
  F5_1Pt23_1024   = 0x13,
  F3_128Mb_512    = 0x14,
  F3_230Mb_512    = 0x15,
  F8_256_128      = 0x16,
  F3_200Mb_512    = 0x17,
  F3_240M_512     = 0x18,
  F3_32M_512      = 0x19
} MEDIA_TYPE;

Constants

Unknown

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.

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 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.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

WinIoCtl.h (include Windows.h)

See also

DeviceIoControl
DISK_GEOMETRY
IOCTL_DISK_GET_DRIVE_GEOMETRY
IOCTL_STORAGE_GET_MEDIA_TYPES
STORAGE_MEDIA_TYPE

 

 

Show: