MID STRUC
midInfoLevel dw 0 ;information level
midSerialNum dd ? ;serial number
midVolLabel db 11 dup (?) ;ASCII volume label
midFileSysType db 8 dup (?) ;file system type
MID ENDS
The MID structure contains information that uniquely identifies a disk or other storage medium.
midInfoLevel
Specifies the information level. This field must be zero.
midSerialNum
Specifies the serial number for the medium.
midVolLabel
Specifies the volume label for the medium. If the label has fewer than 11 characters, space characters (ASCII 20h) fill the remaining bytes in this field.
midFileSysType
Specifies the type of file system, given as an 8-byte ASCII string. This field can be one of the following values:
Name | Meaning |
FAT12 | 12-bit file allocation table (FAT) |
FAT16 | 16-bit FAT |
If the name has fewer than eight characters, space characters (ASCII 20h) fill the remaining bytes in this field.
Interrupt 21h Function 440Dh Minor Code 66h Get Media ID
Interrupt 21h Function 440Dh Minor Code 46h Set Media ID