VOID DrvDisableDirectDraw(
DHPDEV dhpdev
);
DrvDisableDirectDraw disables hardware for DirectDraw use.
GDI calls DrvDisableDirectDraw 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 DrvEnableDirectDraw.