diff --git a/reactos/include/psdk/ntddcdrm.h b/reactos/include/psdk/ntddcdrm.h index 06411661995..d4d9c4945e4 100644 --- a/reactos/include/psdk/ntddcdrm.h +++ b/reactos/include/psdk/ntddcdrm.h @@ -37,12 +37,18 @@ extern "C" { #define IOCTL_CDROM_FIND_NEW_DEVICES \ CTL_CODE(IOCTL_CDROM_BASE, 0x0206, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_GET_CONFIGURATION \ + CTL_CODE(IOCTL_CDROM_BASE, 0x0016, METHOD_BUFFERED, FILE_READ_ACCESS) + #define IOCTL_CDROM_GET_CONTROL \ CTL_CODE(IOCTL_CDROM_BASE, 0x000D, METHOD_BUFFERED, FILE_READ_ACCESS) #define IOCTL_CDROM_GET_DRIVE_GEOMETRY \ CTL_CODE(IOCTL_CDROM_BASE, 0x0013, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_CDROM_GET_DRIVE_GEOMETRY_EX \ + CTL_CODE(IOCTL_CDROM_BASE, 0x0014, METHOD_BUFFERED, FILE_READ_ACCESS) + #define IOCTL_CDROM_GET_LAST_SESSION \ CTL_CODE(IOCTL_CDROM_BASE, 0x000E, METHOD_BUFFERED, FILE_READ_ACCESS) diff --git a/reactos/include/psdk/ntddcdvd.h b/reactos/include/psdk/ntddcdvd.h index 9bd4b3cdc90..c07164de633 100644 --- a/reactos/include/psdk/ntddcdvd.h +++ b/reactos/include/psdk/ntddcdvd.h @@ -31,12 +31,18 @@ extern "C" { #define IOCTL_DVD_BASE FILE_DEVICE_DVD +#define IOCTL_STORAGE_SET_READ_AHEAD \ + CTL_CODE(IOCTL_STORAGE_BASE, 0x0100, METHOD_BUFFERED, FILE_READ_ACCESS) + #define IOCTL_DVD_END_SESSION \ CTL_CODE(IOCTL_DVD_BASE, 0x0403, METHOD_BUFFERED, FILE_READ_ACCESS) #define IOCTL_DVD_GET_REGION \ CTL_CODE(IOCTL_DVD_BASE, 0x0405, METHOD_BUFFERED, FILE_READ_ACCESS) +#define IOCTL_DVD_SEND_KEY2 \ + CTL_CODE(IOCTL_DVD_BASE, 0x0406, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) + #define IOCTL_DVD_READ_KEY \ CTL_CODE(IOCTL_DVD_BASE, 0x0401, METHOD_BUFFERED, FILE_READ_ACCESS)