[FRAMEBUF_ACC]

Same fix as r53434

svn path=/trunk/; revision=53435
This commit is contained in:
Timo Kreuzer 2011-08-25 08:03:15 +00:00
parent 4f3fe47484
commit eec01877b4

View file

@ -108,13 +108,15 @@ DrvEnablePDEV(
} }
/* hw mouse pointer */ /* hw mouse pointer */
ppdev->pPointerAttributes = NULL; ppdev->pPointerAttributes = NULL;
ppdev->PointerAttributesSize = 0; ppdev->PointerAttributesSize = 0;
/* Test see if the driver support hw mouse or not */ /* Test see if the driver support hw mouse or not */
if (!EngDeviceIoControl(ppdev->hDriver,IOCTL_VIDEO_QUERY_POINTER_CAPABILITIES, if (!EngDeviceIoControl(ppdev->hDriver,
&ppdev->ModeIndex, sizeof(PVIDEO_MODE), IOCTL_VIDEO_QUERY_POINTER_CAPABILITIES,
NULL,
sizeof(PVIDEO_MODE),
&ppdev->PointerCapabilities, &ppdev->PointerCapabilities,
sizeof(VIDEO_POINTER_CAPABILITIES), sizeof(VIDEO_POINTER_CAPABILITIES),
&returnedDataLength)) &returnedDataLength))