Author: tkreuzer
Date: Thu Aug 25 07:58:53 2011
New Revision: 53434
URL: http://svn.reactos.org/svn/reactos?rev=53434&view=rev
Log:
[FRAMEBUF_NEW]
- According to MSDN IOCTL_VIDEO_QUERY_POINTER_CAPABILITIES doesn't have an in-parameter. This code was copied from MS sample code, but it doesn't make sense, since the size field doesn't even match the in-buffer size. VBox driver also doesn't use these parameters and we don't handle the ioctl anyway.
Modified:
trunk/reactos/drivers/video/displays/framebuf_new/pointer.c
Modified: trunk/reactos/drivers/video/displays/framebuf_new/pointer.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/displays/fra…
==============================================================================
--- trunk/reactos/drivers/video/displays/framebuf_new/pointer.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/displays/framebuf_new/pointer.c [iso-8859-1] Thu Aug 25 07:58:53 2011
@@ -410,8 +410,8 @@
if (EngDeviceIoControl(ppdev->hDriver,
IOCTL_VIDEO_QUERY_POINTER_CAPABILITIES,
- &ppdev->ulMode,
- sizeof(PVIDEO_MODE),
+ NULL,
+ 0,
&ppdev->PointerCapabilities,
sizeof(ppdev->PointerCapabilities),
&returnedDataLength))