PFND3DDDI_DESTROYOVERLAYCB - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

PFND3DDDI_DESTROYOVERLAYCB Pfnd3dddiDestroyoverlaycb;

HRESULT Pfnd3dddiDestroyoverlaycb(
  HANDLE hDevice,
  const D3DDDICB_DESTROYOVERLAY *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dumddi-pfnd3dddi_destroyoverlaycb)

PFND3DDDI_DESTROYOVERLAYCB callback function

Description

The pfnDestroyOverlayCb function disables the overlay hardware and destroys the kernel-mode overlay object.

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDICB_DESTROYOVERLAY structure that contains a handle to the overlay object to be disabled.

Return value

pfnDestroyOverlayCb returns one of the following values:

Return code Description
S_OK The overlay object was successfully disabled.
E_INVALIDARG Parameters were validated and determined to be incorrect.

This function might also return other HRESULT values.

See also

D3DDDICB_DESTROYOVERLAY

D3DDDI_DEVICECALLBACKS