Author: akhaldi
Date: Sat Sep 25 14:45:03 2010
New Revision: 48874
URL:
http://svn.reactos.org/svn/reactos?rev=48874&view=rev
Log:
[PSDK]
- Add some missing IOCTL_* definitions.
Modified:
trunk/reactos/include/psdk/ntddcdrm.h
trunk/reactos/include/psdk/ntddcdvd.h
Modified: trunk/reactos/include/psdk/ntddcdrm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntddcdrm.h?re…
==============================================================================
--- trunk/reactos/include/psdk/ntddcdrm.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntddcdrm.h [iso-8859-1] Sat Sep 25 14:45:03 2010
@@ -37,11 +37,17 @@
#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)
Modified: trunk/reactos/include/psdk/ntddcdvd.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntddcdvd.h?re…
==============================================================================
--- trunk/reactos/include/psdk/ntddcdvd.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntddcdvd.h [iso-8859-1] Sat Sep 25 14:45:03 2010
@@ -31,11 +31,17 @@
#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)