26#define IOCTL_DVD_BASE FILE_DEVICE_DVD
28#define IOCTL_DVD_START_SESSION CTL_CODE(IOCTL_DVD_BASE, 0x0400, METHOD_BUFFERED, FILE_READ_ACCESS)
29#define IOCTL_DVD_READ_KEY CTL_CODE(IOCTL_DVD_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS)
30#define IOCTL_DVD_SEND_KEY CTL_CODE(IOCTL_DVD_BASE, 0x0402, METHOD_BUFFERED, FILE_READ_ACCESS)
31#define IOCTL_DVD_END_SESSION CTL_CODE(IOCTL_DVD_BASE, 0x0403, METHOD_BUFFERED, FILE_READ_ACCESS)
32#define IOCTL_DVD_SET_READ_AHEAD CTL_CODE(IOCTL_DVD_BASE, 0x0404, METHOD_BUFFERED, FILE_READ_ACCESS)
33#define IOCTL_DVD_GET_REGION CTL_CODE(IOCTL_DVD_BASE, 0x0405, METHOD_BUFFERED, FILE_READ_ACCESS)
34#define IOCTL_DVD_SEND_KEY2 CTL_CODE(IOCTL_DVD_BASE, 0x0406, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
36#define IOCTL_DVD_READ_STRUCTURE CTL_CODE(IOCTL_DVD_BASE, 0x0450, METHOD_BUFFERED, FILE_READ_ACCESS)
187#define DVD_CHALLENGE_KEY_LENGTH (12 + sizeof(DVD_COPY_PROTECT_KEY) - sizeof(UCHAR))
189#define DVD_DISK_KEY_LENGTH (2048 + sizeof(DVD_COPY_PROTECT_KEY) - sizeof(UCHAR))
191#define DVD_KEY_SIZE 5
192#define DVD_CHALLENGE_SIZE 10
193#define DVD_DISCKEY_SIZE 2048
194#define DVD_SECTOR_PROTECTED 0x00000020
struct _DVD_BCA_DESCRIPTOR * PDVD_BCA_DESCRIPTOR
struct _DVD_DESCRIPTOR_HEADER DVD_DESCRIPTOR_HEADER
struct _DVD_DESCRIPTOR_HEADER * PDVD_DESCRIPTOR_HEADER
@ DvdManufacturerDescriptor
struct _DVD_COPY_PROTECT_KEY DVD_COPY_PROTECT_KEY
struct DVD_READ_STRUCTURE * PDVD_READ_STRUCTURE
struct _DVD_DISK_KEY_DESCRIPTOR DVD_DISK_KEY_DESCRIPTOR
struct _DVD_ASF * PDVD_ASF
struct _DVD_LAYER_DESCRIPTOR DVD_LAYER_DESCRIPTOR
enum DVD_STRUCTURE_FORMAT * PDVD_STRUCTURE_FORMAT
struct _DVD_MANUFACTURER_DESCRIPTOR DVD_MANUFACTURER_DESCRIPTOR
struct _DVD_COPYRIGHT_DESCRIPTOR DVD_COPYRIGHT_DESCRIPTOR
struct _DVD_RPC_KEY * PDVD_RPC_KEY
struct _DVD_MANUFACTURER_DESCRIPTOR * PDVD_MANUFACTURER_DESCRIPTOR
struct _DVD_REGION * PDVD_REGION
struct _DVD_REGION DVD_REGION
struct _DVD_COPY_PROTECT_KEY * PDVD_COPY_PROTECT_KEY
struct _DVD_BCA_DESCRIPTOR DVD_BCA_DESCRIPTOR
struct _DVD_RPC_KEY DVD_RPC_KEY
struct DVD_READ_STRUCTURE DVD_READ_STRUCTURE
struct _DVD_LAYER_DESCRIPTOR * PDVD_LAYER_DESCRIPTOR
struct _DVD_DISK_KEY_DESCRIPTOR * PDVD_DISK_KEY_DESCRIPTOR
enum _DVD_KEY_TYPE DVD_KEY_TYPE
struct _DVD_COPYRIGHT_DESCRIPTOR * PDVD_COPYRIGHT_DESCRIPTOR
LARGE_INTEGER BlockByteOffset
DVD_STRUCTURE_FORMAT Format
UCHAR CopyrightProtectionType
UCHAR RegionManagementInformation
union _DVD_COPY_PROTECT_KEY::@3156 Parameters
struct _DVD_COPY_PROTECT_KEY::@3562::@3563 s
LARGE_INTEGER TitleOffset
UCHAR StartingDataSector[4]
UCHAR EndLayerZeroSector[4]
UCHAR ManufacturingInformation[2048]
UCHAR UserResetsAvailable
UCHAR ManufacturerResetsAvailable
_Reserved_ PVOID Reserved