Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines values for the currently known media types supported by IMAPI.
Syntax
typedef enum _IMAPI_MEDIA_PHYSICAL_TYPE {
IMAPI_MEDIA_TYPE_UNKNOWN = 0,
IMAPI_MEDIA_TYPE_CDROM = 0x1,
IMAPI_MEDIA_TYPE_CDR = 0x2,
IMAPI_MEDIA_TYPE_CDRW = 0x3,
IMAPI_MEDIA_TYPE_DVDROM = 0x4,
IMAPI_MEDIA_TYPE_DVDRAM = 0x5,
IMAPI_MEDIA_TYPE_DVDPLUSR = 0x6,
IMAPI_MEDIA_TYPE_DVDPLUSRW = 0x7,
IMAPI_MEDIA_TYPE_DVDPLUSR_DUALLAYER = 0x8,
IMAPI_MEDIA_TYPE_DVDDASHR = 0x9,
IMAPI_MEDIA_TYPE_DVDDASHRW = 0xa,
IMAPI_MEDIA_TYPE_DVDDASHR_DUALLAYER = 0xb,
IMAPI_MEDIA_TYPE_DISK = 0xc,
IMAPI_MEDIA_TYPE_DVDPLUSRW_DUALLAYER = 0xd,
IMAPI_MEDIA_TYPE_HDDVDROM = 0xe,
IMAPI_MEDIA_TYPE_HDDVDR = 0xf,
IMAPI_MEDIA_TYPE_HDDVDRAM = 0x10,
IMAPI_MEDIA_TYPE_BDROM = 0x11,
IMAPI_MEDIA_TYPE_BDR = 0x12,
IMAPI_MEDIA_TYPE_BDRE = 0x13,
IMAPI_MEDIA_TYPE_MAX = 0x13
} IMAPI_MEDIA_PHYSICAL_TYPE, *PIMAPI_MEDIA_PHYSICAL_TYPE;
Constants
IMAPI_MEDIA_TYPE_UNKNOWNValue: 0 The disc recorder contains an unknown media type or the recorder is empty. |
IMAPI_MEDIA_TYPE_CDROMValue: 0x1 The drive contains CD-ROM or CD-R/RW media. |
IMAPI_MEDIA_TYPE_CDRValue: 0x2 The drive contains write once (CD-R) media. |
IMAPI_MEDIA_TYPE_CDRWValue: 0x3 The drive contains rewritable (CD-RW) media. |
IMAPI_MEDIA_TYPE_DVDROMValue: 0x4 Either the DVD drive or DVD media is read-only. |
IMAPI_MEDIA_TYPE_DVDRAMValue: 0x5 The drive contains DVD-RAM media. |
IMAPI_MEDIA_TYPE_DVDPLUSRValue: 0x6 The drive contains write once media that supports the DVD plus format (DVD+R) . |
IMAPI_MEDIA_TYPE_DVDPLUSRWValue: 0x7 The drive contains rewritable media that supports the DVD plus format (DVD+RW). |
IMAPI_MEDIA_TYPE_DVDPLUSR_DUALLAYERValue: 0x8 The drive contains write once dual layer media that supports the DVD plus format (DVD+R DL). |
IMAPI_MEDIA_TYPE_DVDDASHRValue: 0x9 The drive contains write once media that supports the DVD dash format (DVD-R). |
IMAPI_MEDIA_TYPE_DVDDASHRWValue: 0xa The drive contains rewritable media that supports the DVD dash format (DVD-RW). |
IMAPI_MEDIA_TYPE_DVDDASHR_DUALLAYERValue: 0xb The drive contains write once dual layer media that supports the DVD dash format (DVD-R DL). |
IMAPI_MEDIA_TYPE_DISKValue: 0xc The drive contains a media type that supports random-access writes. This media type supports hardware defect management that identifies and avoids using damaged tracks. |
IMAPI_MEDIA_TYPE_DVDPLUSRW_DUALLAYERValue: 0xd The drive contains rewritable dual layer media that supports the DVD plus format (DVD+RW DL). |
IMAPI_MEDIA_TYPE_HDDVDROMValue: 0xe The drive contains high definition read only DVD media (HD DVD-ROM). |
IMAPI_MEDIA_TYPE_HDDVDRValue: 0xf The drive contains write once high definition media (HD DVD-R). |
IMAPI_MEDIA_TYPE_HDDVDRAMValue: 0x10 The drive contains random access high definition media (HD DVD-RAM). |
IMAPI_MEDIA_TYPE_BDROMValue: 0x11 The drive contains read only Blu-ray media (BD-ROM). |
IMAPI_MEDIA_TYPE_BDRValue: 0x12 The drive contains write once Blu-ray media (BD-R). |
IMAPI_MEDIA_TYPE_BDREValue: 0x13 The drive contains rewritable Blu-ray media (BD-RE) media. |
IMAPI_MEDIA_TYPE_MAXValue: 0x13 This value is the maximum value defined in IMAPI_MEDIA_PHYSICAL_TYPE. |
Remarks
The values in the range 0x00000000..0x0000FFFF inclusive are reserved for extension by Microsoft. If third parties wish to report a media type not in this list using this enumeration (for example, if implementing IDiscFormat2Data::get_CurrentPhysicalMediaType to support a non-listed format) they should define values only in the range 0x00010000..0xFFFFFFFF for these media types.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista, Windows XP with SP2 [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | imapi2.h |