PFND3DDDI_RECLAIMALLOCATIONSCB - NtDoc

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

PFND3DDDI_RECLAIMALLOCATIONSCB Pfnd3dddiReclaimallocationscb;

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

NtDoc

No description available.

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

PFND3DDDI_RECLAIMALLOCATIONSCB callback function

Description

Called by the user-mode display driver to reclaim video memory allocations that were previously offered for reuse.

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDICB_RECLAIMALLOCATIONS structure that defines the allocations to reclaim.

Return value

Returns one of the following values.

Return code Description
S_OK The allocations were successfully reclaimed.
E_INVALIDARG An invalid parameter was supplied.
D3DDDIERR_DEVICEREMOVED The video memory manager or display miniport driver could not complete the operation because either a Plug and Play (PnP) Stop event or a Timeout Detection and Recovery (TDR) event occurred.
Note: If this error code is returned, the driver's calling function (typically the pfnReclaimResources routine) must return this error code to the Direct3D runtime.

See also

D3DDDICB_RECLAIMALLOCATIONS

D3DDDI_DEVICECALLBACKS

pfnReclaimResources