mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:02:59 +00:00
[FRAMEBUF_ACC]
Same fix as r53434 svn path=/trunk/; revision=53435
This commit is contained in:
parent
4f3fe47484
commit
eec01877b4
1 changed files with 5 additions and 3 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue