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, d3dumddi/pfnReclaimAllocations2Cb, display.pfnreclaimallocations2cb, pfnReclaimAllocations2Cb, pfnReclaimAllocations2Cb callback, pfnReclaimAllocations2Cb callback function [Display Devices] |
d3dumddi.h |
D3dumddi.h |
Desktop |
Windows 10 |
Windows Server 2016 |
Windows |
|
|
|
|
|
pfnReclaimAllocations2Cb is called by the user mode driver to reclaim video memory allocations that were previously offered for reuse.
A handle to the display device.
pData [in, out]
A pointer to a D3DDDICB_RECLAIMALLOCATIONS2 structure that defines the allocations to reclaim.
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. |