2.2.4.19 NTMS_MEDIATYPEINFORMATION Structure
The NTMS_MEDIATYPEINFORMATION structure defines the properties specific to a type of media supported by RSM.
-
typedef struct _NTMS_MEDIATYPEINFORMATION { DWORD MediaType; DWORD NumberOfSides; DWORD ReadWriteCharacteristics; DWORD DeviceType; } NTMS_MEDIATYPEINFORMATION;
MediaType: Each disk or tape driver reports the media type enumeration value of the medium that is currently mounted in the drive. This media type value MUST be unique, and is mapped to a human-readable string in the object szName member of a NTMS_OBJECTINFORMATIONA or NTMS_OBJECTINFORMATIONW structure.
MediaType MUST be one of the following values.
-
Value
Meaning
DDS_4mm
0x00000020
Tape - DAT, DDS1, DDS2, and so on (all vendors)
MiniQic
0x00000021
Tape - miniQIC tape
Travan
0x00000022
Tape - Travan tape (TR-1, TR-2, TR-3, and so on)
QIC
0x00000023
Tape - QIC tape
MP_8mm
0x00000024
Tape - 8 mm Exabyte metal particle tape
AME_8mm
0x00000025
Tape - 8 mm Exabyte advanced metal evaporative tape
AIT1_8mm
0x00000026
Tape - 8 mm Sony AIT
DLT
0x00000027
Tape - DLT compact tape (IIIxt or IV)
NCTP
0x00000028
Tape - Philips NCTP tape
IBM_3480
0x00000029
Tape - IBM 3480 tape
IBM_3490E
0x0000002a
Tape - IBM 3490E tape
IBM_Magstar_3590
0x0000002b
Tape - IBM Magstar 3590 tape
IBM_Magstar_MP
0x0000002c
Tape - IBM Magstar MP tape
STK_DATA_D3
0x0000002d
Tape - STK Data D3 tape
SONY_DTF
0x0000002e
Tape - Sony DTF tape
DV_6mm
0x0000002f
Tape - 6 mm digital video tape
DMI
0x00000030
Tape - Exabyte DMI tape and compatibles
SONY_D2
0x00000031
Tape - Sony D2S and D2L tape
CLEANER_CARTRIDGE
0x00000032
Cleaner (all drive types that support drive cleaners)
CD_ROM
0x00000033
Optical disk - CD
CD_R
0x00000034
Optical disk - CD-Recordable (write once)
CD_RW
0x00000035
Optical disk - CD-Rewritable
DVD_ROM
0x00000036
Optical disk - DVD-ROM
DVD_R
0x00000037
Optical disk - DVD-Recordable (write once)
DVD_RW
0x00000038
Optical disk - DVD-Rewritable
MO_3_RW
0x00000039
Optical disk - 3.5 inch rewritable MO disk
MO_5_WO
0x0000003a
Optical disk - MO 5.25 inch write once
MO_5_RW
0x0000003b
Optical disk - MO 5.25 inch rewritable (not LIMDOW)
MO_5_LIMDOW
0x0000003c
Optical disk - MO 5.25 inch rewritable (LIMDOW)
PC_5_WO
0x0000003d
Optical disk - Phase change 5.25 inch write once optical
PC_5_RW
0x0000003e
Optical disk - Phase change 5.25 inch rewritable
PD_5_RW
0x0000003f
Optical disk - Phase change dual rewritable
ABL_5_WO
0x00000040
Optical disk - Ablative 5.25 inch write once optical
PINNACLE_APEX_5_RW
0x00000041
Optical disk - Pinnacle Apex 4.6GB rewritable optical
SONY_12_WO
0x00000042
Optical disk - Sony 12 inch write once
PHILIPS_12_WO
0x00000043
Optical disk - Philips/LMS 12 inch write once
HITACHI_12_WO
0x00000044
Optical disk - Hitachi 12 inch write once
CYGNET_12_WO
0x00000045
Optical disk - Cygnet/ATG 12 inch write once
KODAK_14_WO
0x00000046
Optical disk - Kodak 14 inch write once
MO_NFR_525
0x00000047
Optical disk - Near field recording (Terastor)
NIKON_12_RW
0x00000048
Optical disk - Nikon 12 inch rewritable
IOMEGA_ZIP
0x00000049
Magnetic disk - Iomega Zip
IOMEGA_JAZ
0x0000004a
Magnetic disk - Iomega Jaz
SYQUEST_EZ135
0x0000004b
Magnetic disk - Syquest EZ135
SYQUEST_EZFLYER
0x0000004c
Magnetic disk - Syquest EzFlyer
SYQUEST_SYJET
0x0000004d
Magnetic disk - Syquest SyJet
AVATAR_F2
0x0000004e
Magnetic disk - 2.5 inch floppy
MP2_8mm
0x0000004f
Tape - 8 millimeter Hitachi tape
DST_S
0x00000050
Ampex DST small tapes
DST_M
0x00000051
Ampex DST medium tapes
DST_L
0x00000052
Ampex DST large tapes
VXATape_1
0x00000053
Ecrix 8 millimeter tape
VXATape_2
0x00000054
Ecrix 8 millimeter tape
STK_9840
0x00000055
STK 9840
LTO_Ultrium
0x00000056
IBM, HP, Seagate LTO Ultrium
LTO_Accelis
0x00000057
IBM, HP, Seagate LTO Accelis
DVD_RAM
0x00000058
Optical disk - DVD-RAM
AIT_8mm
0x00000059
AIT2 or higher
ADR_1
0x0000005a
OnStream ADR Mediatypes
ADR_2
0x0000005b
OnStream ADR Mediatypes
STK_9940
0x0000005c
STK 9940
SAIT
0x0000005d
SAIT tapes
NumberOfSides: The number of sides on the media.
ReadWriteCharacteristics: Identifies the read/write characteristics of the media type. This MUST be one of the following values.
-
Value
Meaning
NTMS_MEDIARW_UNKNOWN
0x00000000
Unknown media characteristics. This value can be used to initialize ReadWriteCharacteristics before a final value is assigned.
NTMS_MEDIARW_REWRITABLE
0x00000001
Media that can be written to more than once. This includes magnetic tape, magnetic disk, and some optical disk media.
NTMS_MEDIARW_WRITEONCE
0x00000002
Media that can be written to only one time. Some optical media (for example, 5.25-inch, 12-inch, 14-inch WORM, and CD-R) are designed to be write-once.
NTMS_MEDIARW_READONLY
0x00000003
Media that cannot be written to, such as a CD-ROM and a DVD-ROM.
DeviceType: The SCSI device type [ANSI-131-1994] as reported from device inquiry data. This MUST be one of the following values.
-
Value
Meaning
FILE_DEVICE_CD_ROM
0x00000002
CD-ROM device.
FILE_DEVICE_DISK
0x00000007
Direct-access device.
FILE_DEVICE_TAPE
0x0000001F
Sequential-access device.