Skip to content

Latest commit

 

History

History
84 lines (62 loc) · 2.82 KB

nc-d3dumddi-pfnd3dddi_reclaimallocations2cb.md

File metadata and controls

84 lines (62 loc) · 2.82 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3dumddi.PFND3DDDI_RECLAIMALLOCATIONS2CB
PFND3DDDI_RECLAIMALLOCATIONS2CB (d3dumddi.h)
pfnReclaimAllocations2Cb is called by the user mode driver to reclaim video memory allocations that were previously offered for reuse.
display\pfnreclaimallocations2cb.htm
display
05/10/2018
PFND3DDDI_RECLAIMALLOCATIONS2CB callback function
PFND3DDDI_RECLAIMALLOCATIONS2CB, d3dumddi/pfnReclaimAllocations2Cb, display.pfnreclaimallocations2cb, pfnReclaimAllocations2Cb, pfnReclaimAllocations2Cb callback, pfnReclaimAllocations2Cb callback function [Display Devices]
d3dumddi.h
D3dumddi.h
Desktop
Windows 10
Windows Server 2016
Windows
PFND3DDDI_RECLAIMALLOCATIONS2CB
d3dumddi/PFND3DDDI_RECLAIMALLOCATIONS2CB
APIRef
kbSyntax
UserDefined
d3dumddi.h
PFND3DDDI_RECLAIMALLOCATIONS2CB

PFND3DDDI_RECLAIMALLOCATIONS2CB callback function

-description

pfnReclaimAllocations2Cb is called by the user mode driver to reclaim video memory allocations that were previously offered for reuse.

-parameters

-param hDevice

A handle to the display device.

-param unnamedParam2

pData [in, out]

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

-returns

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_RECLAIMALLOCATIONS2

D3DDDI_DEVICECALLBACKS

pfnReclaimResources