IMAPI_MEDIA_PHYSICAL_TYPE enumeration (imapi2.h)
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_UNKNOWN Value: 0 The disc recorder contains an unknown media type or the recorder is empty. |
IMAPI_MEDIA_TYPE_CDROM Value: 0x1 The drive contains CD-ROM or CD-R/RW media. |
IMAPI_MEDIA_TYPE_CDR Value: 0x2 The drive contains write once (CD-R) media. |
IMAPI_MEDIA_TYPE_CDRW Value: 0x3 The drive contains rewritable (CD-RW) media. |
IMAPI_MEDIA_TYPE_DVDROM Value: 0x4 Either the DVD drive or DVD media is read-only. |
IMAPI_MEDIA_TYPE_DVDRAM Value: 0x5 The drive contains DVD-RAM media. |
IMAPI_MEDIA_TYPE_DVDPLUSR Value: 0x6 The drive contains write once media that supports the DVD plus format (DVD+R) . |
IMAPI_MEDIA_TYPE_DVDPLUSRW Value: 0x7 The drive contains rewritable media that supports the DVD plus format (DVD+RW). |
IMAPI_MEDIA_TYPE_DVDPLUSR_DUALLAYER Value: 0x8 The drive contains write once dual layer media that supports the DVD plus format (DVD+R DL). |
IMAPI_MEDIA_TYPE_DVDDASHR Value: 0x9 The drive contains write once media that supports the DVD dash format (DVD-R). |
IMAPI_MEDIA_TYPE_DVDDASHRW Value: 0xa The drive contains rewritable media that supports the DVD dash format (DVD-RW). |
IMAPI_MEDIA_TYPE_DVDDASHR_DUALLAYER Value: 0xb The drive contains write once dual layer media that supports the DVD dash format (DVD-R DL). |
IMAPI_MEDIA_TYPE_DISK Value: 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_DUALLAYER Value: 0xd The drive contains rewritable dual layer media that supports the DVD plus format (DVD+RW DL). |
IMAPI_MEDIA_TYPE_HDDVDROM Value: 0xe The drive contains high definition read only DVD media (HD DVD-ROM). |
IMAPI_MEDIA_TYPE_HDDVDR Value: 0xf The drive contains write once high definition media (HD DVD-R). |
IMAPI_MEDIA_TYPE_HDDVDRAM Value: 0x10 The drive contains random access high definition media (HD DVD-RAM). |
IMAPI_MEDIA_TYPE_BDROM Value: 0x11 The drive contains read only Blu-ray media (BD-ROM). |
IMAPI_MEDIA_TYPE_BDR Value: 0x12 The drive contains write once Blu-ray media (BD-R). |
IMAPI_MEDIA_TYPE_BDRE Value: 0x13 The drive contains rewritable Blu-ray media (BD-RE) media. |
IMAPI_MEDIA_TYPE_MAX Value: 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 |