[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.

svn path=/trunk/; revision=53434
This commit is contained in:
Timo Kreuzer 2011-08-25 07:58:53 +00:00
parent 371eb3f33e
commit 4f3fe47484

View file

@ -410,8 +410,8 @@ BOOL bInitPointer(PPDEV ppdev, DEVINFO *pdevinfo)
if (EngDeviceIoControl(ppdev->hDriver,
IOCTL_VIDEO_QUERY_POINTER_CAPABILITIES,
&ppdev->ulMode,
sizeof(PVIDEO_MODE),
NULL,
0,
&ppdev->PointerCapabilities,
sizeof(ppdev->PointerCapabilities),
&returnedDataLength))