UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:winddi.EngQueryDeviceAttribute |
EngQueryDeviceAttribute function (winddi.h) |
The EngQueryDeviceAttribute function allows the driver to query the system about particular attributes of the device. |
|
display\engquerydeviceattribute.htm |
display |
767d0d78-c17f-461b-8ca6-04a00dc456de |
12/05/2018 |
EngQueryDeviceAttribute, EngQueryDeviceAttribute function [Display Devices], display.engquerydeviceattribute, gdifncs_1f76b3e8-f265-4959-a7f0-4bc433936be7.xml, winddi/EngQueryDeviceAttribute |
winddi.h |
Winddi.h |
Universal |
Available in Windows 2000 and later versions of the Windows operating systems. |
Win32k.lib |
Win32k.sys |
Windows |
19H1 |
|
|
|
|
|
|
The EngQueryDeviceAttribute function allows the driver to query the system about particular attributes of the device.
Handle to the device. This parameter is the GDI handle received by the driver's DrvCompletePDEV function.
Specifies the attribute for which GDI should return information. This parameter must be QDA_ACCELERATION_LEVEL, which queries the driver accelerations that GDI currently allows.
Reserved for system use. This parameter is currently ignored by GDI.
Reserved for system use. This parameter is currently ignored by GDI.
Pointer to a buffer of ulOutSize bytes in which GDI writes information about the attribute being queried. When devAttr is QDA_ACCELERATION_LEVEL, GDI writes in the buffer a DWORD value from 0 through 5 that indicates the current acceleration level. See Display Driver Testing Tools for a description of the acceleration levels.
Specifies the size, in bytes, of the buffer to which pvOut points.
EngQueryDeviceAttribute returns TRUE upon success; otherwise, it returns FALSE.
The video card's acceleration level can be dynamically set through the Display program in Control Panel. EngQueryDeviceAttribute allows the driver to determine the acceleration level currently set.