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.DrvEnableDirectDraw |
DrvEnableDirectDraw function (winddi.h) |
The DrvEnableDirectDraw function enables hardware for DirectDraw use. |
|
display\drvenabledirectdraw.htm |
display |
eb7e8775-d0ff-42af-8266-5171902eac22 |
12/05/2018 |
DrvEnableDirectDraw, DrvEnableDirectDraw function [Display Devices], ddfncs_259dc59e-2e2c-4cdb-9d79-08e42fd5bc91.xml, display.drvenabledirectdraw, winddi/DrvEnableDirectDraw |
winddi.h |
Winddi.h |
Desktop |
Windows |
19H1 |
|
|
|
|
|
|
The DrvEnableDirectDraw function enables hardware for DirectDraw use.
Handle to the PDEV returned by the driver's DrvEnablePDEV routine.
Points to the DD_CALLBACKS structure to be initialized by the driver.
Points to the DD_SURFACECALLBACKS structure to be initialized by the driver.
Points to the DD_PALETTECALLBACKS structure to be initialized by the driver.
DrvEnableDirectDraw returns TRUE if it succeeds; otherwise, it returns FALSE.
GDI calls the driver's DrvEnableDirectDraw function to obtain pointers to the DirectDraw callbacks that the driver supports. The driver should set the function pointer members of DD_CALLBACKS, DD_SURFACECALLBACKS, and DD_PALETTECALLBACKS to point to those functions that it implements. A driver should also set the corresponding bitfields in the dwFlags members of these structures for all supported callbacks.
A driver's DrvEnableDirectDraw implementation can also dedicate hardware resources such as display memory for use by DirectDraw only.