#include <IOKit/storage/IODVDTypes.h>

IOKit/storage/IODVDTypes.h Kernel.framework

(enable 8-bit struct packing)
includes: IOKit/IOTypes.h
21 typedefs · 13 structs · 8 enums · 2 macros

enum(anonymous)

underlying type unsigned int
kDVDMediaTypeUnknown512
kDVDMediaTypeROM514DVD-ROM
kDVDMediaTypeRAM515DVD-RAM
kDVDMediaTypeR516DVD-R
kDVDMediaTypeRW517DVD-RW
kDVDMediaTypePlusRW518DVD+RW
kDVDMediaTypePlusR519DVD+R
kDVDMediaTypeHDROM530HD DVD-ROM
kDVDMediaTypeHDRAM531HD DVD-RAM
kDVDMediaTypeHDR532HD DVD-R
kDVDMediaTypeHDRW533HD DVD-RW
kDVDMediaTypeMin512
kDVDMediaTypeMax767

typedefDVDMediaType

typedef UInt32 DVDMediaType

macrokDVDSpeedMin

#define kDVDSpeedMin 0x0546

macrokDVDSpeedMax

#define kDVDSpeedMax 0xFFFF

typedefDVDCPRMRegionCode

typedef UInt8 DVDCPRMRegionCode

enum(anonymous)

underlying type unsigned int
kDVDCPRMRegion1254
kDVDCPRMRegion2253
kDVDCPRMRegion3251
kDVDCPRMRegion4247
kDVDCPRMRegion5239
kDVDCPRMRegion6223

typedefDVDRegionalPlaybackControlScheme

typedef UInt8 DVDRegionalPlaybackControlScheme

enum(anonymous)

underlying type unsigned int
kDVDRegionalPlaybackControlSchemePhase10
kDVDRegionalPlaybackControlSchemePhase21

typedefDVDBookType

typedef UInt8 DVDBookType

enum(anonymous)

underlying type unsigned int
kDVDBookTypeROM0
kDVDBookTypeRAM1
kDVDBookTypeR2
kDVDBookTypeRW3
kDVDBookTypeHDROM4
kDVDBookTypeHDRAM5
kDVDBookTypeHDR6
kDVDBookTypeHDRW7
kDVDBookTypePlusRW9
kDVDBookTypePlusR10
kDVDBookTypePlusRWDoubleLayer13
kDVDBookTypePlusRDoubleLayer14

typedefDVDKeyClass

typedef UInt8 DVDKeyClass

enum(anonymous)

underlying type unsigned int
kDVDKeyClassCSS_CPPM_CPRM0
kDVDKeyClassRSSA1

typedefDVDKeyFormat

typedef UInt8 DVDKeyFormat

enum(anonymous)

underlying type unsigned int
kDVDKeyFormatAGID_CSS0
kDVDKeyFormatChallengeKey1
kDVDKeyFormatKey12
kDVDKeyFormatKey23
kDVDKeyFormatTitleKey4
kDVDKeyFormatASF5
kDVDKeyFormatSetRegion6
kDVDKeyFormatRegionState8
kDVDKeyFormatAGID_CSS216
kDVDKeyFormatAGID_CPRM17
kDVDKeyFormatAGID_Invalidate63

typedefDVDStructureFormat

typedef UInt8 DVDStructureFormat

enum(anonymous)

underlying type unsigned int
kDVDStructureFormatPhysicalFormatInfo0
kDVDStructureFormatCopyrightInfo1
kDVDStructureFormatDiscKeyInfo2
kDVDStructureFormatManufacturingInfo4skip BCA

structDVDPhysicalFormatInfo

Read DVD Structures Format 0x00
size 2052, align 1
UInt8[2]dataLength
UInt8[2]reserved
UInt8:4partVersionByte 0
UInt8:4bookType
UInt8:4minimumRateByte 1
UInt8:4discSize
UInt8:4layerTypeByte 2
UInt8:1trackPath
UInt8:2numberOfLayers
UInt8:1reserved2
UInt8:4trackDensityByte 3
UInt8:4linearDensity
UInt8zero1Bytes 4-15 always 0x00
UInt8[3]startingPhysicalSectorNumberOfDataArea
UInt8zero2always 0x00
UInt8[3]endPhysicalSectorNumberOfDataArea
UInt8zero3always 0x00
UInt8[3]endSectorNumberInLayerZero
UInt8:7reserved1Byte 16
UInt8:1bcaFlag
UInt8[2031]mediaSpecificBytes 17-2047

typedefDVDPhysicalFormatInfo

typedef struct DVDPhysicalFormatInfo DVDPhysicalFormatInfo

structDVDCopyrightInfo

Read DVD Structures Format 0x01
size 8, align 1
UInt8[2]dataLength
UInt8[2]reserved
UInt8copyrightProtectionSystemType
DVDCPRMRegionCoderegionMask
UInt8[2]reserved2

typedefDVDCopyrightInfo

typedef struct DVDCopyrightInfo DVDCopyrightInfo

structDVDDiscKeyInfo

Read DVD Structures Format 0x02
size 2052, align 1
UInt8[2]dataLength
UInt8[2]reserved
UInt8[2048]discKeyStructures

typedefDVDDiscKeyInfo

typedef struct DVDDiscKeyInfo DVDDiscKeyInfo

structDVDManufacturingInfo

Read DVD Structures Format 0x04
size 2052, align 1
UInt8[2]dataLength
UInt8[2]reserved
UInt8[2048]discManufacturingInfo

typedefDVDManufacturingInfo

typedef struct DVDManufacturingInfo DVDManufacturingInfo

structDVDAuthenticationGrantIDInfo

ReportKey Format 0x00
size 8, align 1
UInt8[2]dataLength
UInt8[2]reserved
UInt8[3]reserved2
UInt8:6reservedBits
UInt8:2grantID

typedefDVDAuthenticationGrantIDInfo

typedef struct DVDAuthenticationGrantIDInfo DVDAuthenticationGrantIDInfo

structDVDChallengeKeyInfo

ReportKey and SendKey Format 0x01
size 16, align 1
UInt8[2]dataLength
UInt8[2]reserved
UInt8[10]challengeKeyValue
UInt8[2]reserved2

typedefDVDChallengeKeyInfo

typedef struct DVDChallengeKeyInfo DVDChallengeKeyInfo

structDVDKey1Info

ReportKey Format 0x02
size 12, align 1
UInt8[2]dataLength
UInt8[2]reserved
UInt8[5]key1Value
UInt8[3]reserved2

typedefDVDKey1Info

typedef struct DVDKey1Info DVDKey1Info

structDVDKey2Info

SendKey Format 0x03
size 12, align 1
UInt8[2]dataLength
UInt8[2]reserved
UInt8[5]key2Value
UInt8[3]reserved2

typedefDVDKey2Info

typedef struct DVDKey2Info DVDKey2Info

structDVDTitleKeyInfo

ReportKey Format 0x04
size 12, align 1
UInt8[2]dataLength
UInt8[2]reserved
UInt8:4CP_MOD
UInt8:2CGMS
UInt8:1CP_SEC
UInt8:1CPM
UInt8[5]titleKeyValue
UInt8[2]reserved2

typedefDVDTitleKeyInfo

typedef struct DVDTitleKeyInfo DVDTitleKeyInfo

structDVDAuthenticationSuccessFlagInfo

ReportKey Format 0x05
size 8, align 1
UInt8[2]dataLength
UInt8[2]reserved
UInt8[3]reserved2
UInt8:1successFlag
UInt8:7reservedBits

typedefDVDAuthenticationSuccessFlagInfo

typedef struct DVDAuthenticationSuccessFlagInfo DVDAuthenticationSuccessFlagInfo

structDVDRegionPlaybackControlInfo

ReportKey Format 0x08
size 8, align 1
UInt8[2]dataLength
UInt8[2]reserved
UInt8:3numberUserResets
UInt8:3numberVendorResets
UInt8:2typeCode
DVDCPRMRegionCodedriveRegion
DVDRegionalPlaybackControlSchemerpcScheme
UInt8reserved2

typedefDVDRegionPlaybackControlInfo

typedef struct DVDRegionPlaybackControlInfo DVDRegionPlaybackControlInfo

structDVDDiscInfo

Read Disc Information Format
size 34, align 1
UInt16dataLength
UInt8:2discStatus
UInt8:2stateOfLastBorder
UInt8:1erasable
UInt8:3reserved
UInt8reserved2
UInt8numberOfBordersLSB
UInt8firstRZoneNumberInLastBorderLSB
UInt8lastRZoneNumberInLastBorderLSB
UInt8:5reserved3
UInt8:1unrestrictedUse
UInt8:1discBarCodeValid
UInt8:1reserved4
UInt8reserved5
UInt8numberOfBordersMSB
UInt8firstRZoneNumberInLastBorderMSB
UInt8lastRZoneNumberInLastBorderMSB
UInt8[4]reserved6
UInt8[4]reserved7
UInt8[4]reserved8
UInt8[8]discBarCode
UInt8reserved9
UInt8numberOfOPCTableEntries
UInt8[0]opcTableEntries

typedefDVDDiscInfo

typedef struct DVDDiscInfo DVDDiscInfo

typedefDVDRZoneInfoAddressType

Read RZone Information Address Types
typedef UInt8 DVDRZoneInfoAddressType

enum(anonymous)

underlying type unsigned int
kDVDRZoneInfoAddressTypeLBA0
kDVDRZoneInfoAddressTypeRZoneNumber1
kDVDRZoneInfoAddressTypeBorderNumber2

structDVDRZoneInfo

Read RZone Information Format
size 36, align 1
UInt16dataLength
UInt8rzoneNumberLSB
UInt8borderNumberLSB
UInt8reserved
UInt8:4reserved2
UInt8:1copy
UInt8:1damage
UInt8:2reserved3
UInt8:4reserved4
UInt8:1restrictedOverwrite
UInt8:1incremental
UInt8:1blank
UInt8:1reservedRZone
UInt8:1nextWritableAddressValid
UInt8:1lastRecordedAddressValid
UInt8:6reserved5
UInt32rzoneStartAddress
UInt32nextWritableAddress
UInt32freeBlocks
UInt32blockingFactor
UInt32rzoneSize
UInt32lastRecordedAddress
UInt8rzoneNumberMSB
UInt8borderNumberMSB
UInt8reserved6
UInt8reserved7

typedefDVDRZoneInfo

typedef struct DVDRZoneInfo DVDRZoneInfo