Author: sir_richard
Date: Fri Mar 5 02:27:43 2010
New Revision: 45857
URL:
http://svn.reactos.org/svn/reactos?rev=45857&view=rev
Log:
[DDK]: Add missing video IOCTLs.
Modified:
trunk/reactos/include/ddk/ntddvdeo.h
Modified: trunk/reactos/include/ddk/ntddvdeo.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntddvdeo.h?rev…
==============================================================================
--- trunk/reactos/include/ddk/ntddvdeo.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/ntddvdeo.h [iso-8859-1] Fri Mar 5 02:27:43 2010
@@ -35,6 +35,41 @@
DEFINE_GUID(GUID_DEVINTERFACE_DISPLAY_ADAPTER, \
0x5b45201d, 0xf2f2, 0x4f3b, 0x85, 0xbb, 0x30, 0xff, 0x1f, 0x95, 0x35, 0x99);
+#define IOCTL_VIDEO_ENABLE_VDM \
+ CTL_CODE(FILE_DEVICE_VIDEO, 0x00, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_VIDEO_DISABLE_VDM \
+ CTL_CODE(FILE_DEVICE_VIDEO, 0x01, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_VIDEO_REGISTER_VDM \
+ CTL_CODE(FILE_DEVICE_VIDEO, 0x02, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_VIDEO_SET_OUTPUT_DEVICE_POWER_STATE \
+ CTL_CODE(FILE_DEVICE_VIDEO, 0x03, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_VIDEO_GET_OUTPUT_DEVICE_POWER_STATE \
+ CTL_CODE(FILE_DEVICE_VIDEO, 0x04, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_VIDEO_MONITOR_DEVICE \
+ CTL_CODE(FILE_DEVICE_VIDEO, 0x05, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_VIDEO_ENUM_MONITOR_PDO \
+ CTL_CODE(FILE_DEVICE_VIDEO, 0x06, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_VIDEO_INIT_WIN32K_CALLBACKS \
+ CTL_CODE(FILE_DEVICE_VIDEO, 0x07, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_VIDEO_HANDLE_VIDEOPARAMETERS \
+ CTL_CODE(FILE_DEVICE_VIDEO, 0x08, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_VIDEO_IS_VGA_DEVICE \
+ CTL_CODE(FILE_DEVICE_VIDEO, 0x09, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_VIDEO_USE_DEVICE_IN_SESSION \
+ CTL_CODE(FILE_DEVICE_VIDEO, 0x0a, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_VIDEO_PREPARE_FOR_EARECOVERY \
+ CTL_CODE(FILE_DEVICE_VIDEO, 0x0b, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_VIDEO_DISABLE_CURSOR \
CTL_CODE (FILE_DEVICE_VIDEO, 0x109, METHOD_BUFFERED, FILE_ANY_ACCESS)
@@ -59,9 +94,6 @@
#define IOCTL_VIDEO_GET_POWER_MANAGEMENT \
CTL_CODE(FILE_DEVICE_VIDEO, 0x11c, METHOD_BUFFERED, FILE_ANY_ACCESS)
-
-#define IOCTL_VIDEO_HANDLE_VIDEOPARAMETERS \
- CTL_CODE(FILE_DEVICE_VIDEO, 0x08, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_VIDEO_LOAD_AND_SET_FONT \
CTL_CODE(FILE_DEVICE_VIDEO, 0x105, METHOD_BUFFERED, FILE_ANY_ACCESS)