// d3dumddi.h
PFND3DDDI_DESTROYOVERLAY Pfnd3dddiDestroyoverlay;
HRESULT Pfnd3dddiDestroyoverlay(
HANDLE hDevice,
const D3DDDIARG_DESTROYOVERLAY *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DestroyOverlay function disables the overlay hardware and frees the overlay handle.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDIARG_DESTROYOVERLAY structure that contains the overlay handle.
DestroyOverlay returns S_OK or an appropriate error result if the overlay hardware is not disabled.
Overlays are independent from the resources that are displayed by using the overlays.