mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[WIN32SS][GDI] Improve stub for EngQueryDeviceAttribute
This commit is contained in:
parent
c2aa749bbd
commit
774246e95c
1 changed files with 17 additions and 6 deletions
|
@ -583,14 +583,25 @@ EngPlgBlt(
|
|||
BOOL
|
||||
APIENTRY
|
||||
EngQueryDeviceAttribute(
|
||||
IN HDEV Device,
|
||||
IN ENG_DEVICE_ATTRIBUTE Attribute,
|
||||
IN VOID *In,
|
||||
IN ULONG InSize,
|
||||
OUT VOID *Out,
|
||||
OUT ULONG OutSize)
|
||||
_In_ HDEV hdev,
|
||||
_In_ ENG_DEVICE_ATTRIBUTE devAttr,
|
||||
_In_reads_bytes_(cjInSize) PVOID pvIn,
|
||||
_In_ ULONG cjInSize,
|
||||
_Out_writes_bytes_(cjOutSize) PVOID pvOut,
|
||||
_In_ ULONG cjOutSize)
|
||||
{
|
||||
if (devAttr != QDA_ACCELERATION_LEVEL)
|
||||
return FALSE;
|
||||
|
||||
UNIMPLEMENTED;
|
||||
|
||||
if (cjOutSize >= sizeof(DWORD))
|
||||
{
|
||||
/* Set all accelerations to enabled */
|
||||
*(DWORD*)pvOut = 0;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue