DrvDisableDirectDraw function (winddi.h)
The DrvDisableDirectDraw function disables hardware for DirectDraw use.
Syntax
void DrvDisableDirectDraw(
DHPDEV dhpdev
);
Parameters
dhpdev
Handle to the PDEV that was returned by the driver's DrvEnablePDEV routine.
Return value
None
Remarks
GDI calls the driver's DrvDisableDirectDraw function when the last DirectDraw application has finished running. A driver's DrvDisableDirectDraw implementation should clean up any software resources and reclaim any hardware resources that the driver dedicated to DirectDraw in its DrvEnableDirectDraw function.
DrvDisableDirectDraw can be called with a disabled PDEV. A PDEV is disabled or enabled by calling the display driver's DrvAssertMode function. See Managing PDEVs for more information.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | winddi.h (include Winddi.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for