// d3dkmddi.h
DXGKDDI_DESTROYOVERLAY DxgkddiDestroyoverlay;
NTSTATUS DxgkddiDestroyoverlay(
[in] IN_CONST_HANDLE hOverlay
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DxgkDdiDestroyOverlay function disables overlay hardware and deletes the specified overlay handle.
hOverlay [in]A handle to the overlay to destroy. The display miniport driver's DxgkDdiCreateOverlay function previously provided this handle to the Microsoft DirectX graphics kernel subsystem in the hOverlay member of the DXGKARG_CREATEOVERLAY structure.
DxgkDdiDestroyOverlay returns STATUS_SUCCESS, or an appropriate error result if overlay hardware is not successfully disabled.
DxgkDdiDestroyOverlay should be made pageable.